forked from tyreepace/ocember-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
48 lines (38 loc) · 1.1 KB
/
index.html
File metadata and controls
48 lines (38 loc) · 1.1 KB
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
<!doctype html>
<head>
<meta charset="utf-8">
<title>OC Ember Group</title>
<link href="http://fonts.googleapis.com/css?family=Pontano+Sans|Bitter" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="handlebars.js"></script>
<script src="ember.js"></script>
<script src="app.js"></script>
</head>
<body>
<h1>OC Ember Example</h1>
<h2>Ember Committers</h2>
<script type="text/x-handlebars" data-template-name="contributor">
<h4>Individual contributor</h4>
<div>
<a {{action showAllContributors}}>All Contributors</a>
</div>
{{login}} - {{contributions}} contributions to Ember.js
<ul>
<li><a {{action showDetails}}>Details</a></li>
<li><a {{action showRepos}}>Repos</a></li>
</ul>
<div>
{{outlet}}
</div>
</script>
<script type="text/x-handlebars" data-template-name="contributor-details">
<p>{{email}}</p>
<p>{{bio}}</p>
</script>
<script type="text/x-handlebars" data-template-name="repos">
{{#each repo in repos}}
{{repo.name}}
{{/each}}
</script>
</body>
</html>