-
Notifications
You must be signed in to change notification settings - Fork 44
/
index.html
202 lines (176 loc) · 6.16 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<title>Ongaku : Anime Radio</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href = "img/favicon-naruto.ico" rel="icon" type="image/x-icon">
<link rel = "stylesheet" href = "css/style.css">
</head>
<body>
<audio id = "music"></audio>
<div id="modal-wrapper">
<div id="track-list" class="track-list">
<div class="close-track-list">
<button>
<i class="fa fa-close fa-1x" title="Close"></i>
</button>
</div>
<div class="sticky-bar">
<input type="text" name="song_search" id="song_search" class="song-search"/>
</div>
<ul></ul>
</div>
<div class="modal-preference">
<div id="popover-title">
Preferences
</div>
<div id="popover-body">
<div class="opening">
<div>Opening</div>
<div class="toggle-btn active">
<input type="checkbox" checked class="cb-value cb-op" />
<span class="round-btn"></span>
</div>
</div>
<div class="ending">
<div>Ending</div>
<div class="toggle-btn active">
<input type="checkbox" checked class="cb-value cb-ed" />
<span class="round-btn"></span>
</div>
</div>
<div class="ost">
<div>OST</div>
<div class="toggle-btn active">
<input type="checkbox" checked class="cb-value cb-ost" />
<span class="round-btn"></span>
</div>
</div>
<div class="fav">
<div>Favorites Only</div>
<div class="toggle-btn">
<input type="checkbox" class="cb-value cb-fav" />
<span class="round-btn"></span>
</div>
</div>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/anshumanv/ongaku" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star Anshuman-Verma/ongaku on GitHub">Star</a>
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/anshumanv/ongaku/fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork Anshuman-Verma/ongaku on GitHub">Fork</a>
</div>
</div>
</div>
<div class="top-bar">
<i class="fa fa-bars fa-2x track-list-img" data-toggle="tooltip" data-placement="bottom" title="Playlist"></i>
<i id="starImg" class="fa fa-2x" title="Favorite"></i>
<i class="fa fa-info-circle fa-2x infoImg"></i>
<div id="top-left" class="top-left" style="border-radius: 10px; display: none">
<table class="table table-hover" style="margin-bottom: 0px">
<thead style="background-color: black;color: white">
<tr>
<th>Key</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>SPACE</strong></td>
<td>Pause / Play</td>
</tr>
<tr>
<td><strong>N</strong></td>
<td>Next Track</td>
</tr>
<tr>
<td><strong>R</strong></td>
<td>Play Again</td>
</tr>
<tr>
<td><strong>F</strong></td>
<td>Fullscreen</td>
</tr>
<tr>
<td><strong>L</strong></td>
<td>Last Track</td>
</tr>
<tr>
<td><strong>UP</strong></td>
<td>Volume +10%</td>
</tr>
<tr>
<td><strong>DOWN</strong></td>
<td>Volume -10%</td>
</tr>
<tr>
<td><strong>LEFT</strong></td>
<td>Seek -10s</td>
</tr>
<tr>
<td><strong>RIGHT</strong></td>
<td>Seek +10s</td>
</tr>
</tbody>
</table>
</div>
<div class="top-right">
<a data-placement="left" data-container="body" data-placement="left" type="button" data-html="true" data-toggle="popover" data-trigger="manual">
<i class="fa fa-cog fa-2x" data-toggle="tooltip" data-placement="bottom" title="Preferences"></i>
</a>
</div>
</div>
<!--<button id="pButton" class="play" data-toggle="tooltip" data-placement="top" title="Toggle Play"></button>-->
<button id="pButton" class="play" title="Toggle Play">
<i class="fa fa-play fa-4x" id="play" title="Play"></i>
<i class="fa fa-pause fa-4x" id="pause" title="Pause"></i>
<i class="fa fa-spinner fa-pulse fa-4x loader" id="loader" title="Loading"></i>
</button>
<div id="wrapper">
<div id="player">
<div id="timeline">
<div id="buffered-bar">
<div id="playedBar"></div>
<div id="playhead"></div>
</div>
</div>
<div id="playTime"></div>
</div>
</div>
<div class="display-track">
<div id="track-name"></div>
</div>
<div class="bottom-bar">
<div class="bottom-left">
<div id="previous" title="Play Last">
<i class="fa fa-backward fa-2x" data-toggle="tooltip" data-placement="top" title="Play Last"></i>
</div>
<div id="next" title="Play Next">
<i class="fa fa-forward fa-2x" data-toggle="tooltip" data-placement="top" title="Play Next"></i>
</div>
</div>
<div class="botton-right">
<div id="restart" title="Play Again">
<i class="fa fa-refresh fa-2x" data-toggle="tooltip" data-placement="top" title="Play Again"></i>
</div>
<div id="fullscreen-button" title="Toggle Fullscreen">
<i class="fa fa-arrows-alt fa-2x" data-toggle="tooltip" data-placement="top" title="Toggle Fullscreen"></i>
</div>
</div>
</div>
<!-- Post-loaded CSS -->
<link href="https://fonts.googleapis.com/css?family=Ropa+Sans" lazyload="1" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Cairo" lazyload="1" rel="stylesheet">
<!--/Post-loaded CSS -->
<!-- Post-loaded JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://use.fontawesome.com/292557cf8d.js"></script>
<script type="text/javascript" src = "js/data.json"></script>
<script src = "js/ongaku.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<!--/Post-loaded JS -->
</body>
</html>