-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
54 lines (45 loc) · 1.17 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ember Starter Kit</title>
<link rel="stylesheet" href="css/bootstrap/css/bootstrap.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<script type="text/x-handlebars">
<h2>Welcome to Ember.js 1.0 Install Fest</h2>
{{outlet}}
</script>
<script type="text/x-handlebars" id="forms">
<h1>Forms</h1>
{{input value=name}}
<p>
My name is {{name}}.
</p>
</script>
<script type="text/x-handlebars" id="actions">
<h1>Actions</h1>
Property: {{red}}
<button {{action "toggleColor"}}>Toggle it</button>
</script>
<script type="text/x-handlebars" id="fruits">
<h1>Fruits</h1>
{{#each model}}
{{#link-to 'fruit' this}}{{id}}{{/link-to}}
{{/each}}
{{outlet}}
</script>
<script type="text/x-handlebars" id="fruits/all">
<h1>Fruits All</h1>
</script>
<script type="text/x-handlebars" id="fruit">
<h1>Fruit</h1>
<h2>{{id}}</h2>
</script>
<script src="js/jquery.js"></script>
<script src="js/handlebars.js"></script>
<script src="js/ember.js"></script>
<script src="js/app.js"></script>
</body>
</html>