forked from rahult/ember-data-workshop-for-beginners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·60 lines (56 loc) · 1.92 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
55
56
57
58
59
60
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Ember.js Project Directory</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/foundation.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<script type="text/x-handlebars" id="application">
<div class="row">
<div class="large-12 columns">
<h1>Welcome to Ember.js Project Directory</h1>
</div>
</div>
<div class="row">
<div class="large-12 columns">
{{outlet}}
</div>
</div>
</script>
<script type="text/x-handlebars" id="index">
{{#each}}
<div class="large-4 medium-4 columns project-block">
<h3>{{name}}</h3>
<p>
{{description}}
</p>
{{#link-to 'project' this class='tiny button round project-link'}}More{{/link-to}}
</div>
{{/each}}
</script>
<script type="text/x-handlebars" id="project">
<div class="large-4 medium-4 columns project-block-info">
<h3>{{name}}</h3>
<p>
{{description}}
</p>
<div class="row">
<a {{bind-attr href=url}} class="tiny button round project-website-link">Website</a>
<button {{action 'archive-project'}} class="tiny round project-archive-button">Archive</button>
<a href="#/" class="tiny button round">Back</a>
</div>
</div>
</script>
<script src="js/libs/jquery-1.10.2.js"></script>
<script src="js/libs/handlebars-1.1.2.js"></script>
<script src="js/libs/ember-1.3.1.js"></script>
<script src="js/app.js"></script>
<script src="js/fixtures.js"></script>
<!-- to activate the test runner, add the "?test" query string parameter -->
<script src="tests/runner.js"></script>
</body>
</html>