-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
116 lines (105 loc) · 3 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
<!DOCTYPE html>
<head>
<title>Thomas’ Musik</title>
<link rel="stylesheet" href="/assets/style.css">
<script src="/assets/boot.js"></script>
<script>
require.config({baseUrl: '/assets'});
require(['app'], function(App) {
App.start()
});
</script>
<meta name="viewport" content="initial-scale=1, width=device-width">
<meta charset="utf-8">
</head>
<body>
<div class="app-loader modal active">
<div class="app-loader-message">
Lade Daten
<i class="icon icon-cog"></i>
</div>
</div>
<div class="container">
<nav>
<a href="#/">Alle</a>
<a href="#/new">Neuste</a>
<a href="/feed.xml"><i class="icon">feed</i></a>
</nav>
</div>
<div class="hidden-box">
</div>
<!-- ARTISTS -->
<template name="artist">
<div class="artist-name oneline">{{name}}</div>
<ol class="artist-album-list"></ol>
<ol class="artist-track-list"></ol>
</template>
<template name="artist-album">
<div class="album-loading">
<i class="icon icon-cog"></i>
</div>
<button class="artist-album-main" data-action="toggle-album">
{{name}}
<small>
{{#year}}
<span class="artist-album-year">({{year}})</span>
{{/year}}
{{#downloadable}}
<i class="artist-album-listen icon">music</i>
{{/downloadable}}
</small>
</button>
{{#recent}}
<span class="artist-album-added" title="{{addedIso}}">
{{added}}<br>hinzugefügt
</span>
{{/recent}}
</template>
<!-- ALBUMS -->
<template name="album">
<div class="release-head">
<div class="album-loading">
<i class="icon icon-cog"></i>
</div>
<div class="album-main">
<div class="album-name">{{name}}</div>
<div class="album-additional">
<span class="album-artist">{{artist}}</span>
<span class="album-year">({{year}})</span>
{{#downloadable}}
<i class="album-listen icon">music</i>
{{/downloadable}}
</div>
</div>
{{#added}}
<div class="album-added" title="{{addedIso}}">{{added}}<br>hinzugefügt</div>
{{/added}}
</div>
</template>
<template name="album-tracks">
<div class="album-tracks-wrapper">
<ol>
{{#tracks}}
<li class="album-track" data-track-id="{{id}}">
<div class="album-track-no">{{no}}.</div>
<div class="album-track-title">{{title}}</div>
<div class="album-track-artist">{{artist}}</div>
</li>
{{/tracks}}
</ol>
<a class="album-download" href="{{downloadURL}}">Download</a>
</div>
</template>
<!-- DIALOGS -->
<template name="album-req-dialog">
Das Album „{{name}}“ steht noch nicht als Download zur Verfügung.
Möchtest du es anfordern?
<div class="dialog-control">
<button class="dialog-close">Abbrechen</button>
<button class="album-request">
Anfordern
<i class="icon icon-cog"></i>
</button>
</div>
</template>
</body>