This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (60 loc) · 1.84 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset='utf-8'>
<title>BümBöx</title>
<link rel="stylesheet" href="css/app.css">
<script src="js/libs/handlebars-1.0.rc.4.js"></script>
<script src="js/libs/jquery-2.0.2.js"></script>
<script src="js/libs/ember.js"></script>
<script src="js/app.js"></script>
<script src="js/fixtures.js"></script>
<script src="tests/load-tests.js"></script>
</head>
<body>
<script type="text/x-handlebars">
<header><h1>BümBöx</h1></header>
{{outlet}}
</script>
<script type="text/x-handlebars" id="index">
<div class="album-list">
{{#each}}
<div class="album">
{{#linkTo 'album' this}}
<img {{bindAttr src=artwork}}>
{{/linkTo}}
<p class="album-name">{{name}}</p>
<p class="album-artist">{{artist}}</p>
<p class="song-count">
8 songs
{{#if isExplicit}}<span class="explicit">EXPLICIT</span>{{/if}}
</p>
</div>
{{/each}}
</div>
</script>
<script type="text/x-handlebars" id="album">
<div class="album-info">
<img {{bindAttr src=artwork}}>
<h1>{{name}}</h1>
<h2>{{artist}}</h2>
</div>
<table class="album-listing">
{{#each songs}}
<tr>
<td class="song-track">
<span class="track-number">{{track}}</span>
</td>
<td class="song-name">{{name}}</td>
<td class="song-duration">{{format-duration duration}}</td>
</tr>
{{/each}}
<tr>
<td class="total-duration" colspan="3">Total Time: 40:03</td>
</tr>
</table>
</script>
<div id="qunit" style="display: none"></div>
<div id="qunit-fixture" style="display: none"></div>
</body>
</html>