-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
337 lines (317 loc) · 16.7 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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Raaga : The Music Player</title>
<!-- CSS imports -->
<link href="styles/shared.css" rel="stylesheet" />
<link href="styles/index.css" rel="stylesheet" />
<!-- FONTAWESOME Icons Import-->
<script
src="https://kit.fontawesome.com/5872c572b3.js"
crossorigin="anonymous"
></script>
<!-- Favicon imports -->
<link rel="icon" type="image/x-icon" href="/assets/icons/favicon.ico">
<!-- JS imports -->
<!-- DATA Model imports-->
<script src="assets/data/artists-data.js" defer></script>
<script src="assets/data/shared-data.js" defer></script>
<!-- Template generation code imports -->
<script src="scripts/html-templates-shared.js" defer></script>
<script src="scripts/html-templates-indexPage.js" defer></script>
<!-- Navigation related -->
<script src="scripts/nav.js" defer></script>
<script src="scripts/click-open-artist.js" defer></script>
<!-- Carousel related -->
<script src="scripts/carousel.js" defer></script>
<!-- Music Player Related -->
<script src="scripts/music-player.js" defer></script>
<script src="scripts/click-play-item.js" defer></script>
</head>
<body>
<!-- Start of HEADER -->
<header>
<!-- Code injected here using 'html-templates-shared.js' -->
</header>
<!-- End of HEADER -->
<!-- Start of ASIDE-SECTION-->
<aside class="translucent-bg-100 item-with-bg fx-magnify">
<div>
<div class="aside-header item-with-bg">
<div class="container-heading">Playlist</div>
<!-- Start of DROPDOWN Menu on Aside -->
<div class="dropdown">
<select>
<option value="">Playlist</option>
<option value="">Favorite Songs</option>
<option value="">Favorite Artists</option>
</select>
<div class="dropdown-arrow">
<i class="fas fa-caret-down"></i>
</div>
</div>
<!-- End of DROPDOWN Menu on Aside -->
</div>
<div class="container-content item-with-bg">
<ul id="playlist-songs" class="list-in-container playlist-ul playbar-listener">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-playlist-songs">
<li class="playlist-li-in-container">
<div class="playlist-item item-with-bg playbar-item fx-fade-in" data-song-url='dummySongUrl'>
<div class="left-half">
<div class="text-subtitle">dummySongNumber</div>
<div class="play-icon-overlay util-img-container">
<img class="playbar-img util-img" src='dummyImgUrl'/>
</div>
<div>
<div class="text-title playbar-title">'dummySongTitle'</div>
<div class="text-subtitle playbar-subtitle">
'dummySongSub-Title'
</div>
</div>
</div>
<div class="right-half">
<i class="fas fa-ellipsis-h hoverable-icon"></i>
</div>
</div>
</li>
</template>
</div>
</div>
</aside>
<!-- End of ASIDE-SECTION-->
<!-- Start of MAIN-BODY -->
<!-- Start of Carousel Again -->
<div class="carousel-container translucent-bg-100 item-with-bg fx-fade-in fx-magnify">
<button class="carousel_button carousel_button-prev is-hidden">
❮
</button>
<div class="carousel">
<div class="carousel_track-container">
<ul id="carousel_track" class="carousel_track">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
</div>
</div>
<button class="carousel_button carousel_button-next">
❯
</button>
</div>
<!-- Carousel Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-carousel">
<li class="carousel-slide current-slide">
<img
src='dummy-img-url'
class="carousel-slide-img"
/>
</li>
</template>
<!-- End of Carousel Again -->
<div id="favorites-container" class="favorites-container translucent-bg-100 item-with-bg fx-magnify">
<!-- Code injected here using 'html-injector-indexPage.js' -->
<div class="container-heading">Favorites</div>
<div class="container-content">
<div class="translucent-bg-100 item-with-bg">
<div>Songs</div>
<ul class="playbar-listener" id="ul-fav-songs">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-fav-songs">
<li>
<div class="favorites-item item-with-bg playbar-item fx-fade-in" data-song-url='dummySongUrl'>
<div class="play-icon-overlay util-img-container">
<img
class="util-img playbar-img"
src='dummySrc'
/>
</div>
<p class="favorite-item-text playbar-title">
dummyTitle
</p>
</div>
</li>
</template>
</div>
<div class="translucent-bg-100 item-with-bg">
<div class="favourite-item-heading">Artists</div>
<ul class="favorite-list artist-listener" id="ul-fav-artists">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-fav-artists">
<li>
<a href="artist.html">
<div class="favorites-item item-with-bg opens-artist fx-fade-in" data-artist-id='dummyArtistId'>
<div class="util-img-container">
<img
class="util-img"
src='dummyImgUrl'
/>
</div>
<p class="favorite-item-text">dummyArtistName</p>
</div>
</a>
</li>
</template>
</div>
<div class="translucent-bg-100 item-with-bg">
<div class="favourite-item-heading">Genres</div>
<ul class="favorite-list" id ="ul-fav-genres">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id ="temp-fav-genres">
<li>
<div class="favorites-item item-with-bg fx-fade-in">
<div class="util-img-container">
<img
class="util-img"
src='dummyURL'
/>
</div>
<p class="favorite-item-text">dummyGenreTitle</p>
</div>
</li>
</template>
</div>
<div class="translucent-bg-100 item-with-bg">
<div class="favourite-item-heading">Radios</div>
<ul class="favorite-list" id="ul-fav-radios">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-fav-radios">
<li>
<div class="favorites-item item-with-bg fx-fade-in">
<div class="util-img-container">
<img
class="util-img"
src=${favRadio.imgUrl}
/>
</div>
<p class="favorite-item-text">${favRadio.radioName}</p>
</div>
</li>
</template>
</div>
</div>
</div>
<div id="latest-releases-container" class="latest-releases-container translucent-bg-100 item-with-bg playbar-listener fx-magnify">
<!-- Code injected here using 'html-injector-indexPage.js' -->
<div class="container-heading">Latest Releases</div>
<div class="container-content translucent-bg-100 item-with-bg">
<ul class="list-in-container" id="ul-latestReleases">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-latestReleases">
<li>
<div class="latest-release-item item-with-bg playbar-item fx-fade-in" data-song-url='dummySongURL'>
<div class="play-icon-overlay util-img-container">
<img
class="playbar-img util-img"
src='dummyImageURL'
/>
</div>
<div class="latest-release-textcontainer">
<div class="top-line"><i class="fas fa-ellipsis-h hoverable-icon"></i></div>
<div class="mid-line"><div class="text-title playbar-title">dummySongName</div> <div class="num-text">dummySongLength</div></div>
<div class="bottom-line"><p class="text-subtitle playbar-subtitle">dummySongSubtitle</p></div>
</div>
</div>
</li>
</template>
</div>
</div>
<div id="artists-container" class="artists-container translucent-bg-100 item-with-bg artist-listener fx-magnify">
<!-- Code injected here using 'html-injector-indexPage.js' -->
<div class="container-heading">Popular Artists</div>
<div class="container-content item-with-bg">
<ul class="list-in-container" id="ul-artists">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-artists">
<li>
<div class="popular-artists-item item-with-bg opens-artist fx-fade-in" data-artist-id='dummy artist id'>
<a href="artist.html">
<div class="util-img-container">
<img
class="util-img"
src='dummy image url'
/>
</div>
<div class="text-title">
dummyArtistName
</div>
</a>
</div>
</li>
</template>
</div>
</div>
<div id="genres-container" class="genres-container translucent-bg-100 item-with-bg fx-magnify">
<div class="container-heading">Popular Genres</div>
<div class="container-content item-with-bg">
<ul class="list-in-container" id="ul-genres">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-genres">
<li>
<div class="genre-item item-with-bg fx-fade-in">
<img
class="util-img"
src='dummyGenreUrl'
/>
<div class="text-title">
<p>dummyGenreName</p>
</div>
</div>
</li>
</template>
</div>
</div>
<div id="radios-container" class="radios-container translucent-bg-100 item-with-bg fx-magnify">
<div class="container-heading">Popular Radio Stations</div>
<div class="container-content item-with-bg">
<ul class="list-in-container" id="ul-radios">
<!-- Following Template Code injected here using 'html-templates-indexPage.js' -->
</ul>
<!-- Template code which is injected above by 'html-templates-indexPage.js' -->
<template id="temp-radios">
<li>
<div class="radio-item item-with-bg fx-fade-in">
<div class="util-img-container">
<img
class="util-img"
src='dummyImageSrc'
/>
</div>
<div class="text-title">
<p>dummyRadioName</p>
</div>
</div>
</li>
</template>
</div>
</div>
<!-- End of MAIN-BODY -->
<!-- Start of FOOTER -->
<footer>
<!-- Code injected here using 'html-templates-shared.js' -->
</footer>
<!-- End of FOOTER -->
<!-- Start of Play-bar Modal -->
<div id="play-modal-container">
<!-- Code injected here using 'html-templates-shared.js' -->
</div>
<!-- End of Play-bar Modal -->
</body>
</html>