-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainAppWindow.html
388 lines (387 loc) · 18.8 KB
/
mainAppWindow.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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="dependencies/fontawesome/css/font-awesome.css">
<link rel="stylesheet" type="text/css" href="dependencies/bootstrap4/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="dependencies/slick/slick.css"/>
<link rel="stylesheet" type="text/css" href="dependencies/slick/slick-theme.css"/>
<link rel="stylesheet" type="text/css" href="main.css">
<title>OutFlux</title>
</head>
<body>
<!-- <div class="startAnimation">
<svg class="outfluxLogo" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="-5 2 593 100">
<rect x="-5" y="-5" width="594" height="115" rx="16" ry="16"/>
<path class="o-letter" d="M0,52.25a50.86,50.86,0,0,1,4.11-20.3A52.22,52.22,0,0,1,31.95,4.11,50.89,50.89,0,0,1,52.25,0a50.9,50.9,0,0,1,20.3,4.11A52.23,52.23,0,0,1,100.4,31.95a50.9,50.9,0,0,1,4.11,20.3,50.89,50.89,0,0,1-4.11,20.3A52.23,52.23,0,0,1,72.55,100.4a50.9,50.9,0,0,1-20.3,4.11,50.89,50.89,0,0,1-20.3-4.11A52.22,52.22,0,0,1,4.11,72.56,50.85,50.85,0,0,1,0,52.25Zm14,0a37.16,37.16,0,0,0,3,14.85A38.51,38.51,0,0,0,37.4,87.48a38.45,38.45,0,0,0,29.71,0A38.51,38.51,0,0,0,87.48,67.11a38.44,38.44,0,0,0,0-29.71A38.51,38.51,0,0,0,67.11,17,38.44,38.44,0,0,0,37.4,17,38.51,38.51,0,0,0,17,37.4,37.17,37.17,0,0,0,14,52.25ZM52.25,86.59A33.21,33.21,0,0,1,38.89,83.9,34.95,34.95,0,0,1,20.6,65.61a33.21,33.21,0,0,1-2.69-13.36A33.21,33.21,0,0,1,20.6,38.89,34.95,34.95,0,0,1,38.89,20.6a33.21,33.21,0,0,1,13.36-2.69A33.21,33.21,0,0,1,65.61,20.6,34.95,34.95,0,0,1,83.9,38.89a33.22,33.22,0,0,1,2.69,13.36A33.21,33.21,0,0,1,83.9,65.61,34.95,34.95,0,0,1,65.61,83.9,33.22,33.22,0,0,1,52.25,86.59ZM31.35,52.25A20.29,20.29,0,0,0,33,60.39,21,21,0,0,0,44.12,71.51a21,21,0,0,0,16.27,0A21,21,0,0,0,71.51,60.39a21,21,0,0,0,0-16.27A21,21,0,0,0,60.39,33a21,21,0,0,0-16.27,0A21,21,0,0,0,33,44.12,20.3,20.3,0,0,0,31.35,52.25Z"/>
<path class="u-letter" d="M153.47,104.5a56.76,56.76,0,0,1-17-2.39,35,35,0,0,1-13-7.17,31.4,31.4,0,0,1-8.29-12.09,46.28,46.28,0,0,1-2.91-17.17V2.39h31.8v62q0,5.23,2.16,8t7.24,2.76q5.07,0,7.24-2.76t2.16-8v-62h31.95v63.3a46.27,46.27,0,0,1-2.91,17.17,31,31,0,0,1-8.36,12.09,35.74,35.74,0,0,1-13.06,7.17A56.76,56.76,0,0,1,153.47,104.5Zm0-17.91q-22.39,0-22.39-21.95V14.33h-3.88V64.64q0,12.54,6.79,19.18t19.48,6.64q12.69,0,19.56-6.64t6.87-19.18V14.33h-4V64.64Q175.86,86.59,153.47,86.59Z"/>
<path class="t-letter" d="M218,28.51H199.6V2.39h69.57V28.51H250.8V102H218ZM236.32,90V17.91h21.35V14.33H211.09v3.58h21.35V90Z"/>
<path class="f-letter" d="M274.39,2.39h58.67V28.51H306.19v11h26.42V64.34H306.19V102h-31.8ZM293.2,90V53.74h28.37V50.16H293.2V17.91h29.86V14.33H289.32V90Z"/>
<path class="l-letter" d="M341.27,2.39h33.14V75.84h27.47V102H341.27ZM393.52,90V86.44H360.08V14.33H356.2V90Z"/>
<path class="u-letter" d="M447.86,104.5a56.76,56.76,0,0,1-17-2.39,35,35,0,0,1-13-7.17,31.4,31.4,0,0,1-8.29-12.09,46.28,46.28,0,0,1-2.91-17.17V2.39h31.8v62q0,5.23,2.16,8t7.24,2.76q5.07,0,7.24-2.76t2.16-8v-62h31.95v63.3a46.28,46.28,0,0,1-2.91,17.17,31,31,0,0,1-8.36,12.09,35.74,35.74,0,0,1-13.06,7.17A56.76,56.76,0,0,1,447.86,104.5Zm0-17.91q-22.39,0-22.39-21.95V14.33h-3.88V64.64q0,12.54,6.79,19.18t19.48,6.64q12.69,0,19.56-6.64t6.87-19.18V14.33h-4V64.64Q470.26,86.59,447.86,86.59Z"/>
<path class="x-letter" d="M519.37,50.46,492.95,2.39h34.78l9,16.27,9-16.27h34.93L554.16,50.46,582.52,102H547.74l-11-19.86L525.79,102H491Zm17.32,4L556.25,90h4.48l-21.8-39.56,19.86-36.13h-4.48l-17.62,32.1-17.62-32.1h-4.48l19.86,36.13L512.65,90h4.48Z"/>
</svg>
</div> -->
<div class="container-fluid">
<div class="sidebar" id="sidebar">
<div class="nav flex-column nav-pills" id="menu-tab" role="tablist">
<a class="nav-link active" id="menu-home-tab" data-toggle="pill" href="#menu-home" role="tab" aria-controls="menu-home" aria-expanded="true">Home</a>
<a class="nav-link" id="menu-tophundred-tab" data-toggle="pill" href="#menu-tophundred" role="tab" aria-controls="menu-tophundred" aria-expanded="true">Top 100 Charts</a>
<a class="nav-link" id="menu-playlists-tab" data-toggle="pill" href="#menu-playlists" role="tab" aria-controls="menu-playlists" aria-expanded="true">Playlists</a>
<a class="nav-link" id="menu-album-tab" data-toggle="pill" href="#menu-album" role="tab" aria-controls="menu-album" aria-expanded="true">Album</a>
<a class="nav-link" id="menu-artist-tab" data-toggle="pill" href="#menu-artist" role="tab" aria-controls="menu-artist" aria-expanded="true">Artist</a>
<a class="nav-link" id="menu-settings-tab" data-toggle="pill" href="#menu-settings" role="tab" aria-controls="menu-settings" aria-expanded="true">Settings</a>
</div>
</div>
<div class="content" id="content">
<!-- <a href="#sidebar" class="menu-link">☰</a> -->
<div class="content-bar">
<ul class="nav navbar-dark">
<li class="nav-item">
<div class="macOS-buttons">
</div>
</li>
<li class="nav-item">
<form class="form-inline my-2 my-lg-0">
<div class="search-box">
<input type="text" class="searchText">
<button type="submit" class="submitButton">
<i class="fa fa-search" aria-hidden="true"></i>
</button>
</div>
</form>
</li>
<li class="nav-item">
<a class="nav-link"></a>
</li>
</ul>
</div>
<div class="tab-content" id="menu-tabcontent">
<div class="tab-pane fade show active" id="menu-home" role="tabpanel" aria-labelledby="menu-home-tab">
<div class="titleInfo">
<div class="slideshow-home">
<div>
<img class="slideshowImg" alt="An image on the slideshow" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
<h3>Album Name</h3>
<span>Artist</span>
</div>
<div>
<img class="slideshowImg" alt="An image on the slideshow" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
<h3>Album Name</h3>
<span>Artist</span>
</div>
<div>
<img class="slideshowImg" alt="An image on the slideshow" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
<h3>Album Name</h3>
<span>Artist</span>
</div>
<div>
<img class="slideshowImg" alt="An image on the slideshow" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
<h3>Album Name</h3>
<span>Artist</span>
</div>
<div>
<img class="slideshowImg" alt="An image on the slideshow" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
<h3>Album Name</h3>
<span>Artist</span>
</div>
<div>
<img class="slideshowImg" alt="An image on the slideshow" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
<h3>Album Name</h3>
<span>Artist</span>
</div>
<div>
<img class="slideshowImg" alt="An image on the slideshow" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
<h3>Album Name</h3>
<span>Artist</span>
</div>
</div>
</div>
<div class="carousel-control">
<div class="carousel-home" id="homeCarousel">
<div>
<img class="carouselImg" alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</div>
<div>
<img class="carouselImg" alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</div>
<div>
<img class="carouselImg" alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</div>
<div>
<img class="carouselImg" alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</div>
<div>
<img class="carouselImg" alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</div>
<div>
<img class="carouselImg" alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</div>
<div>
<img class="carouselImg" alt="" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
</div>
</div>
</div>
<div class="recommendation-list">
<div class="discover">
<div class="card bg-dark text-white">
<img class="card-img" src="resources/img/discover.jpg" alt="Card image">
<div class="card-img-overlay">
<h4 class="card-title">Discover</h4>
</div>
</div>
</div>
<div class="newReleases">
<div class="card bg-dark text-white">
<img class="card-img" src="resources/img/newReleases.jpg" alt="Card image">
<div class="card-img-overlay">
<h4 class="card-title">New Releases</h4>
</div>
</div>
</div>
<div class="charts">
<div class="card bg-dark text-white">
<img class="card-img" src="resources/img/charts-rec.jpg" alt="Card image">
<div class="card-img-overlay">
<h4 class="card-title">Charts</h4>
</div>
</div>
</div>
</div>
<div class="genre-list row">
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
<div class="col-4">
<div class="card">
<img class="card-img-top" src="Music/Save A Little Love.jpg" alt="Card image cap">
<div class="card-body">
<h4 class="card-title">Genre Name</h4>
</div>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="menu-tophundred" role="tabpanel" aria-labelledby="menu-tophundred-tab">
Top 100 CHARTS
</div>
<div class="tab-pane fade" id="menu-playlists" role="tabpanel" aria-labelledby="menu-playlists-tab">
Playlists
</div>
<div class="tab-pane fade" id="menu-album" role="tabpanel" aria-labelledby="menu-album-tab">
Album View Test
</div>
<div class="tab-pane fade" id="menu-artist" role="tabpanel" aria-labelledby="menu-artist-tab">
Artist View Test
</div>
<div class="tab-pane fade" id="menu-settings" role="tabpanel" aria-labelledby="menu-settings-tab">
Settings
</div>
</div>
</div>
<div class="other" id="other">
<ul class="nav nav-pills nav-justified mb-3" id="other-tab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="other-friends-tab" data-toggle="pill" href="#other-friends" role="tab" aria-controls="other-friends" aria-expanded="true">Friends</a>
</li>
<li class="nav-item">
<a class="nav-link" id="other-sec-tab" data-toggle="pill" href="#other-sec" role="tab" aria-controls="other-sec" aria-expanded="true">Profile</a>
</li>
</ul>
<div class="tab-content" id="other-tabContent">
<div class="tab-pane fade show active" id="other-friends" role="tabpanel" aria-labelledby="other-friends-tab">
<div class="friendInfoBox">
<div class="media">
<div class="profilepicHolder">
<img class="d-flex align-self-center mr-3 rounded-circle userImg" src="resources/img/user.png" alt="User Image">
</div>
<div class="media-body">
<p class="mb-0">User Name</p>
<p class="mb-0">Song Title</p>
<p class="mb-0">Artist</p>
<p class="mb-0">Album Name</p>
</div>
</div>
</div>
</div>
<div class="tab-pane fade justify-content-center" id="other-sec" role="tabpanel" aria-labelledby="other-sec-tab">
<div class="currentUserImg col-12">
<img class="rounded-circle" src="icons/W_2013_165.jpg" alt="Current User Image">
</div>
<h4>Your Profile</h4>
<hr style="background-color: white;">
<div class="currentUserInfo">
<span class="">
Yash Agasti
</span>
<br>
<span class="">
@sauravyash
</span>
<br>
<span class="">
Bio details
</span>
</div>
</div>
</div>
</div>
</div>
<div class="player">
</div>
<footer>
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
<!--
_______________________________
| Dependency script imports |
|_____________________________|
Notes:
- jquery 3.2.1
- Jquery ui 1.11.4
- Jquery Migrate 1.2.1
- bootstrap 4 alpha in use
- popper is a dependency of bootstrap4
- js ID# tag scanner: https://github.com/43081j/id3
- slick for sliding content
-->
<script src="dependencies/jQuery/jquery-3.2.1.min.js"></script>
<script src="dependencies/jQuery/jquery-UI-1.11.4.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="dependencies/popper/popper.min.js"></script>
<script src="dependencies/bootstrap4/js/bootstrap.min.js"></script>
<script type="text/javascript" src="dependencies/slick/slick.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.slideshow-home').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
fade: true,
asNavFor: '.carousel-home'
});
$('.carousel-home').slick({
//autoplay: true,
speed: 1000,
autoplaySpeed: 5000,
dots: true,
centerMode: true,
centerPadding: '60px',
slidesToShow: 3,
accessibility: false,
asNavFor: '.slideshow-home',
responsive: [
{
breakpoint: 768,
settings: {
arrows: false,
centerMode: true,
centerPadding: '20px',
slidesToShow: 3
}
},
{
breakpoint: 480,
settings: {
arrows: false,
centerMode: true,
centerPadding: '40px',
slidesToShow: 1
}
}
]
});
});
</script>
<script>
//$('.slick-slide::after').width($('.slick-slide').width);
function updateBeforeElement() {
var nodeList = document.querySelectorAll('.slick-slide.slick-current.slick-active.slick-center');
var nodeArray = Array(nodeList);
var imgHeight = nodeArray['0']['0'].clientHeight;
var css = document.createElement("style");
css.type = "text/css";
css.id = "injectedCSS";
css.innerHTML = ".slick-slide::before { height:calc("+imgHeight+"px - 4%);width:calc("+imgHeight+"px - 4%);} .slick-slide .carouselImg{ background-size:calc("+imgHeight+"px - 20%); }";
document.body.appendChild(css);
console.log('resized for ::before');
}
setTimeout(updateBeforeElement, 1000);
window.onresize = function(){
var element = document.getElementById("injectedCSS");
element.parentNode.removeChild(element);
updateBeforeElement();
};
</script>
<!-- app specific js -->
<script src="player.js"></script>
<!-- electron code-->
<script>if (window.module) module = window.module;</script>
<!-- <script>
var webFrame = require('electron').webFrame;
webFrame.setVisualZoomLevelLimits(1, 1);
webFrame.setLayoutZoomLevelLimits(0, 0);
</script> -->
</footer>
</body>
</html>