-
Notifications
You must be signed in to change notification settings - Fork 1
/
popup.html
157 lines (152 loc) · 4.99 KB
/
popup.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<!-- Start screen -->
<div class="start-screen" id="startScreen">
<h2 class="start-screen__title">Please, enter your <a target="_blank" href="https://old.ppy.sh/p/api/">API key</a></h2>
<div class="start-screen-field">
<input
type="text"
class="start-screen-field__input"
placeholder="API key"
id="startScreenAPIInput"
>
<button class="start-screen-field__confirm" id="startScreenAPIConfirm">Confirm</button>
</div>
<span class="start-screen__developer">Created by TheEZIC</span>
</div>
<!-- Notification -->
<div class="notification" id="notification">
</div>
<!-- Preload -->
<div id="preload" class="preload">
<div id="cube-loader">
<div class="caption">
<div class="cube-loader">
<div class="cube loader-1"></div>
<div class="cube loader-2"></div>
<div class="cube loader-4"></div>
<div class="cube loader-3"></div>
</div>
</div>
</div>
</div>
<!-- Options -->
<div class="options" id="options">
<i class="fa fa-times options__closeBtn" id="optionsCloseBtn"></i>
<h2 class="options__title">Options</h2>
<div class="options-item">
<span class="options-item__text">Change API key:</span>
<div class="options-item-field">
<input
type="text"
class="options-item-field__input"
placeholder="New API key"
id="optionsAPIInput"
>
<button class="options-item-field__confirm" id="optionsAPIConfirm">Change</button>
</div>
</div>
</div>
<!-- Header -->
<header class="header" id="header">
<div class="shadow"></div>
<div class="urls">
<a class="urls__item" target="_blank" href="https://www.donationalerts.com/r/theezic_">
<i class="fas fa-money-bill-wave urls__icon"></i>
</a>
<a class="urls__item" target="_blank" href="https://github.com/TheEZIC/O-pp">
<i class="fab fa-github urls__icon"></i>
</a>
</div>
<i class="fa fa-cog options-btn" id="optionsBtn"></i>
<span class="song-title" id="title"></span>
<span class="song-title" id="artist"></span>
</header>
<main class="content">
<!-- user-inputs -->
<div id="inputsContainer" class="inputs-container"></div>
<!-- Map stats -->
<div id="statsContainer" class="stats-container"></div>
<!-- Mods -->
<div class="mods-container">
<!-- EZ -->
<div class="mods-item" id="ez-container">
<label class="checkbox-container">
<input type="checkbox" id="ez">
<img class="mods-icon" id="ez-icon" src="assets/mod-icons/easy.png" alt="EZ">
</label>
</div>
<!-- NF -->
<div class="mods-item" id="nf-container">
<label class="checkbox-container" id="nf-container">
<input type="checkbox" id="nf">
<img class="mods-icon" id="nf-icon" src="assets/mod-icons/nofail.png" alt="NF">
</label>
</div>
<!-- HT -->
<div class="mods-item" id="ht-container">
<label class="checkbox-container">
<input type="checkbox" id="ht">
<img class="mods-icon" id="ht-icon" src="assets/mod-icons/halftime.png" alt="HT">
</label>
</div>
<!-- HR -->
<div class="mods-item" id="hr-container">
<label class="checkbox-container">
<input type="checkbox" id="hr">
<img class="mods-icon" id="hr-icon" src="assets/mod-icons/hardrock.png" alt="HR">
</label>
</div>
<!-- DT -->
<div class="mods-item" id="dt-container">
<label class="checkbox-container">
<input type="checkbox" id="dt">
<img class="mods-icon" id="dt-icon" src="assets/mod-icons/doubletime.png" alt="DT">
</label>
</div>
<!-- HD -->
<div class="mods-item" id="hd-container">
<label class="checkbox-container">
<input type="checkbox" id="hd">
<img class="mods-icon" id="hd-icon" src="assets/mod-icons/hidden.png" alt="HD">
</label>
</div>
<!-- FL -->
<div class="mods-item" id="fl-container">
<label class="checkbox-container">
<input type="checkbox" id="fl">
<img class="mods-icon" id="fl-icon" src="assets/mod-icons/flashlight.png" alt="FL">
</label>
</div>
<!-- SO -->
<div class="mods-item" id="so-container">
<label class="checkbox-container">
<input type="checkbox" id="so">
<img class="mods-icon" id="so-icon" src="assets/mod-icons/spunout.png" alt="SO">
</label>
</div>
</div>
</main>
<footer class="footer" id="footer">
<div class="footer-stat">
<b id="BPM" class="footer-stat__text"></b>
<i class="far fa-clock footer-stat__icon"></i>
</div>
<b id="outer" class="outer"></b>
<div class="footer-stat">
<i class="fas fa-star footer-stat__icon"></i>
<b id="SR" class="footer-stat__text"></b>
</div>
</footer>
</div>
<!-- Scripts -->
<script src="background.js" type="text/javascript" charset="utf-8"></script>
<script src="popup.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>