-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (60 loc) · 2.13 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Sp</title>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"
type="text/javascript"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<script src="https://sdk.scdn.co/spotify-player.js"></script>
<script type="module" src="app.js"></script>
</head>
<body>
<div id="settings" class="settingsHidden">
<a href="javascript:" id="settings_toggle">⚙</a><br/>
<hr/>
<button id="settings_reload">Reload broken stuff</button><br/>
<hr/>
<button id="settings_refresh_collection">Refresh collection</button><br/>
<hr/>
Tile size <input id="settings_tileSize" type="range" min="1" max="10"/><br/>
<hr/>
<input id="settings_openLinksInNativeClient" type="checkbox"/>
<label for="settings_openLinksInNativeClient">Open links in native client</label><br/>
<hr/>
<label for="settings_recentlyPlayedCount"></label>Recently played
<input type="number" id="settings_recentlyPlayedCount"/>
</div>
<div id="playctrls" class="nothingPlaying">
<img id="playingNow_StatusImg" src="https://upload.wikimedia.org/wikipedia/en/e/ed/Nyan_cat_250px_frame.PNG"></img>
<div id="playingNow_status">
<div id="playingNow_statusLine1"></div>
<div id="playingNow_statusLine2"></div>
</div>
<div id="ctrls">
<button id="playctrls_prev">⏮</button>
<button id="playctrls_play">⏯</button>
<button id="playctrls_next">⏭</button>
<input type="range" id="playctrls_vol" min="1" max="100"/>
<div class="playctrls_shuffle_lbl"><input type="checkbox" id="playctrls_shuffle_enabled"></input><label for="playctrls_shuffle_enabled"></label></div>
<select id="playctrls_device"></select><br/>
</div>
</div>
<div id="loading">
LOADING
</div>
<div id="error">
ERROR
</div>
<div id="recently_played">
</div>
<ul id="genres_idx" class='idx'>
</ul>
<div id="arts_by_gen">
</div>
</body>
</html>