-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
175 lines (164 loc) · 6.14 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="assets/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>YAMP</title>
</head>
<body>
<div id="settingsModal" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Settings</h4>
<div class="row">
<div class="col s10">
<h5>Directories</h5>
</div>
<div class="col s2 right-align">
<input class="custom-file-input btn-flat" type="file" id="FileUpload" webkitdirectory />
</div>
<div class="col s12">
<ul class="collection" id="selectedDirs">
</ul>
</div>
</div>
</div>
<div class="modal-footer">
<a href="#!" id="saveSettings" class="modal-close waves-effect waves-green btn-flat"">SAVE</a>
</div>
</div>
<div class=" Top">
<div class="row" style="width:100%; margin:0">
<div class="col s4">
</div>
<div class="col s8" style="display:flex;justify-content: flex-end;">
<a class="uiIcon dyn" style="flex-grow: 1;background-color: #fff;" data-tooltip="Search">
<img id="searchBtn" src="./assets/buttons/search.svg">
<input class="icn-in" id="search" style="border-radius: inherit">
</a>
<a style="flex-grow: 1"></a>
<a class="uiIcon dyn waves-effect" id="castBtn" data-tooltip="Start broadcast">
<img src="./assets/buttons/broadcast_off.svg">
</a>
<a class="uiIcon stc waves-effect" id="clientBtn" data-tooltip="Receive broadcast">
<img src="./assets/buttons/receive.svg">
</a>
<a class="uiIcon stc waves-effect modal-trigger" id="settings" data-tooltip="Settings"
data-target="settingsModal">
<img src="./assets/buttons/settings.svg">
</a>
</div>
</div>
</div>
<!-- Scrolling container -->
<div class="Container">
<!-- Main deck with music controls -->
<div class="Left">
<!-- Song details -->
<div class="row">
<h5 class="truncate deckTitle" id="trackTitle">Track Name</h5>
<h6 class="truncate deckTitle" id="trackArtist">Artist Name</h6>
<div class="card z-depth-3">
<div class="card-image" style="height:226px; line-height: 220px">
<img id="nowPlayingImg" src="./assets/headphones.svg">
</div>
</div>
</div>
<!-- Song progress bar -->
<div class="seek-bar">
<p class="range-field">
<input id="seekBar" type="range" value="0" min="0" max="100" />
</p>
</div>
<!-- Playback control Buttons -->
<div class="row">
<div class="col s4">
<a class="button waves-effect media-control" id="prevBtn">
<img src="./assets/buttons/skip_previous.svg">
</a>
</div>
<div class="col s4">
<a class="btn-floating btn-large waves-effect white z-depth-3" id="playPause">
<img src="./assets/buttons/play_arrow.svg" height="56">
</a>
</div>
<div class="col s4">
<a class="button waves-effect media-control" id="nextBtn">
<img src="./assets/buttons/skip_next.svg">
</a>
</div>
</div>
<!-- Volume Slider -->
<div class="row" style="padding-top:16px">
<div class="col s1 vol">
<img src="./assets/buttons/volume_up.svg" width="24px">
</div>
<div class="col s10">
<form>
<p class="range-field">
<input type="range" id="volSlider" min="0" max="100" />
</p>
</form>
</div>
<!-- <div class="col s1 vol">
<img src="./assets/buttons/volume_up.svg" width="24px">
</div> -->
</div>
</div>
<!-- Main content listing page -->
<div class="Middle">
<div class="row list-heading">
<div class="card-panel z-depth-0" style="padding: 8px; margin:0;">
<div class="row">
<div style="display: flex">
<div style="width: 56px; display: inline-block">
<a class="waves-effect dropdown-trigger" data-target='sortBy' data-tooltip="Sort by" id="sort"
style="height: 21px;">
<img src="./assets/buttons/sort.svg" height="21">
</a>
<ul id='sortBy' class='dropdown-content'>
<li class="sortby"><a value="title">Name</a></li>
<li class="sortby"><a value="artist">Artist</a></li>
<li class="sortby"><a value="album">Album</a></li>
</ul>
</div>
<div style="width: calc(100% - 56px); display: inline-block;">
<div class="col s5"><b>Title</b></div>
<div class="col s4"><b>Artist</b></div>
<div class="col s3" style="padding-right: 0;height: 21px;">
<b>Album</b>
<a class="waves-effect hide-on-large-only" id="drawer" style="float: right;height: 21px;">
<img class="drawerBtn" src="./assets/buttons/drawer.svg" height="21">
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col s12">
<div class="row" id="allSongs">
<div class="container center-align">
<h3>Seems like we are not in the right path</h3>
<h4>Come on, add some Music Directory in settings</h4>
</div>
</div>
</div>
</div>
</div>
<!-- PlayQueue and others -->
<div class="Right">
<div class="row">
<div class="col 12">
<h5>Play queue</h5>
</div>
</div>
</div>
</div>
<script>
require('./assets/materialize.min.js')
require('./renderer.js')
</script>
</body>
</html>