forked from nerdyworm/ember-examples-jquery-sortable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·34 lines (29 loc) · 826 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Starter Kit</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<script type="text/x-handlebars">
<h2>Welcome to Ember.js</h2>
{{outlet}}
</script>
<script type="text/x-handlebars" data-template-name="index">
<ul class="sortable">
{{#each item in controller}}
<li class="item" data-id="{{unbound item.id}}">
<b>{{item.idx}}</b> {{item.id}}
</li>
{{/each}}
</ul>
</script>
<script src="js/libs/jquery-1.9.1.js"></script>
<script src="js/libs/jquery-ui.js"></script>
<script src="js/libs/handlebars-1.0.0-rc.3.js"></script>
<script src="js/libs/ember-1.0.0-rc.3.js"></script>
<script src="js/app.js"></script>
</body>
</html>