-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
144 lines (127 loc) · 4.43 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Bloggr: An ember.js project</title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,300,400" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/semantic.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body >
<div class="ui page grid">
<!-- the application template -->
<script type="text/x-handlebars">
<div class="page ui">
<nav class="ui text menu navbar">
<div class="left menu">
<a href class="item">Bloggr: An ember.js project</a>
</div>
<div class="right menu">
{{#link-to "posts" class="item"}}Posts{{/link-to}}
{{#link-to "about" class="item"}}About{{/link-to}}
</div>
</nav>
<div class="ui divider"></div>
<div class="main">
{{outlet}}
</div>
</div>
</script>
<script type="text/x-handlebars" id="posts">
<div class="ui stackable grid">
<div class="eleven wide column" id="content">
{{outlet}}
{{#each}}
<h2 class="ui dividing header">
<div class="content">
{{{title}}}
<div class="sub header">
by {{author.name}} at {{format-date date}}
</div>
</div>
</h2>
{{format-markdown excerpt}}
{{/each}}
</div>
<div class="five wide column" id="sidebar">
<div class="ui tiny header">Recent Posts</div>
<div class="ui relaxed list">
{{#each}}
<div class="item">
<div class="content">
{{#link-to "post" this class="header"}}
{{{title}}}
{{/link-to}}
</div>
</div>
{{/each}}
</div>
</div>
</div>
</script>
<script type="text/x-handlebars" id="post">
<h2 class="ui dividing header">
<div class="content">
{{{title}}}
<div class="sub header">
by {{author.name}} at {{format-date date}}
</div>
</div>
</h2>
{{format-markdown body}}
</script>
<script type="text/x-handlebars" id="about">
<p>This is just a little proof-of-concept project, using:</p>
<div class="ui relaxed animated list">
<div class="item">
<div class="content">
<a target="_blank" href="https://github.com/emberjs/starter-kit">
<div class="header">
<span class="fa-2x">
<i class="fa fa-github"></i>
</span>
The emberjs starter-kit
</div>
</a>
</div>
</div>
<div class="item">
<div class="content">
<a target="_blank" href="https://www.youtube.com/watch?v=1QHrlFlaXdI&t=71">
<div class="header">
<span class="fa-2x">
<i class="fa fa-youtube"></i>
</span>
Tom Dale's screencast
</div>
</a>
</div>
</div>
<div class="item">
<div class="content">
<a target="_blank" href="http://semantic-ui.com">
<div class="header">
<span class="fa-stack">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-inverse fa-stack-1x">S</i>
</span>
The Semantic UI framework
</div>
</a>
</div>
</div>
</div>
</script>
</div>
<script src="js/libs/jquery-1.10.2.js"></script>
<script src="js/libs/ember-template-compiler-1.10.0.js"></script>
<script src="js/libs/ember-1.10.0.debug.js"></script>
<script src="js/libs/semantic.js"></script>
<script src="js/libs/moment.min.js"></script>
<script src="js/app.js"></script>
<!-- to activate the test runner, add the "?test" query string parameter -->
<script src="tests/runner.js"></script>
</body>
</html>