-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
167 lines (165 loc) · 4.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Last.fm - Now Playing</title>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<meta
name="description"
content="NowPlaying-For-Last.fm is a smooth Last.fm visualizer, which displays the music playing on Last.fm"
/>
<link rel="icon" type="image/png" href="/favicon.png" />
<link id="playingcss" href="/styles/playing.css" rel="stylesheet" />
<link href="/styles/productsans.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<link
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<body>
<input
type="file"
name="bgfileinput"
id="bgfileinput"
class="hidden"
onchange="backgroundInput();"
/>
<input
type="text"
name="bgfileinputurl"
id="bgfileinputurl"
class="hidden"
onchange="backgroundInputUrl();"
/>
<div class="settings-div fadeInOut">
<a
title="fullscreen"
id="fullscreen-button"
href="#"
onclick="fullscreen();"
><i id="fullscreen-icon" class="material-icons theme-icon"
>fullscreen</i
></a
>
<a
title="background blur level"
id="theme-button"
href="#"
onclick="blurr();"
><i id="theme-icon" class="material-icons theme-icon">palette</i></a
>
<a
title="select last.fm user"
id="theme-button"
href="#"
onclick="changeUser();"
alt="Change User"
><i id="theme-icon" class="material-icons theme-icon">person</i></a
>
<a
title="background light dim"
id="theme-button"
href="#"
onclick="toggleContrast();"
><i id="theme-icon" class="material-icons theme-icon">contrast</i></a
>
<a
title="animate background"
id="theme-button"
href="#"
onclick="toggleAnimation();"
><i id="theme-icon" class="material-icons theme-icon">airwave</i></a
>
<span style="margin: 0 1em">custom background:</span>
<a
title="set custom background from file"
id="theme-button"
href="#"
onclick="backgroundIcon();"
><i id="theme-icon" class="material-icons theme-icon">add_a_photo</i></a
>
<a
title="set custom background from URL"
id="theme-button"
href="#"
onclick="backgroundInputUrl();"
><i id="theme-icon" class="material-icons theme-icon"
>add_photo_alternate</i
></a
>
<a
title="persist custom background even when song has image"
id="theme-button"
href="#"
onclick="toggleDefBgAlways();"
><i id="theme-icon" class="material-icons theme-icon">photo_frame</i></a
>
<a
title="custom background blur level"
id="theme-button"
href="#"
onclick="blurrDef();"
><i id="theme-icon" class="material-icons theme-icon">palette</i></a
>
<a
title="custom background light dim"
id="theme-button"
href="#"
onclick="toggleContrastDef();"
><i id="theme-icon" class="material-icons theme-icon">contrast</i></a
>
<a
title="animate custom background"
id="theme-button"
href="#"
onclick="toggleAnimationDef();"
><i id="theme-icon" class="material-icons theme-icon">airwave</i></a
>
</div>
<div id="playing-div">
<div id="img-wrapper">
<img src="/images/no_song.png" id="playing-img" />
</div>
<div id="song-info-div">
<h1 id="song-title">No music currently playing</h1>
<h2 id="song-artist">
Please wait a few seconds while status is updating
</h2>
<h2 id="song-album"></h2>
</div>
</div>
<div id="bgwrapper" class="background-image-div">
<div
id="background-image-div"
class="background-image-div-1"
style="
background: url('/images/no_song.png');
background-size: cover;
background-position: center center;
"
>
<div id="contrast"></div>
</div>
</div>
<div id="bgwrapperDef" class="background-image-div">
<div
id="background-image-Def-div"
class="background-image-div-1"
style="
background: url('/images/no_song.png');
background-size: cover;
background-position: center center;
"
>
<div id="contrastDef"></div>
</div>
</div>
<script src="/scripts/imgbrightness.js"></script>
<script src="/scripts/scripts.js"></script>
<script src="/scripts/cursor.js"></script>
</body>
</html>