-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (62 loc) · 2.92 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="index.css" type="text/css"/>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<title>Spotiview</title>
<script src="lib.js" type="text/javascript"></script>
<script src="index.js" type="text/javascript" defer></script>
</head>
<body>
<div style="margin: 1%">
<div class="text-center" id="landing" hidden>
<h1>Welcome to Spotiview!</h1>
<br />
<button type="button" class="btn btn-primary" onclick="spotifyRedirect()"><img width="32" height="32" src="https://developer.spotify.com/assets/branding-guidelines/[email protected]" />Login with Spotify</button>
</div>
<div class="text-center" id="loading" hidden>
<h1>Loading</h1>
<div class="spinner-border" role="status">
<span class="sr-only"></span>
</div>
</div>
<div id="analysis" hidden>
<table class='tabl text-center' id='empty-table'>
<thead id='da'></thead>
<tbody id="ds"></tbody>
</table>
<table class='tabl' id='aTable1'>
<thead id='aHead1'></thead>
<tbody id="a"></tbody>
</table>
<table class='tabl' id='aTable2'>
<thead id='aHead2'></thead>
<tbody id="b"></tbody>
</table>
<select name="scope" id="scope-select" class="form-select" style="width: auto;" onchange="scopeSelect()">
<option value="libOnly">Library</option>
<option value="allPLs">Library + Playlists</option>
</select>
<br />
<div id="top5artists" hidden>
<p class="text">Your top 5 artists:</p>
</div>
<div id="top5artistsPL" hidden>
<p class="text">Your top 5 artists:</p>
</div>
<br />
<div class="text-center">
<button class="text-center btn btn-link" onclick="donate()">Donate 😁</button>
</div>
<div class="text-center" id="donateDiv" hidden>
<p>Any donation is appreciated! Thanks :)</p>
<p>BTC: 39dDa35HPtP2YKZFFCN35JwebNoEebr28Q</p>
<p>ETH: 0xF60Ff164daD5094D7F3328CE8E3c8Ee4c72F26dB</p>
<p>LTC: MFq2ki5WZF76hU9Vs47Ft57aUJ9zsBws4y</p>
</div>
</div>
</div>
</body>
</html>