-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (71 loc) · 2.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trivia</title>
<link rel="stylesheet" href="/static/css/reset.css">
<link rel="stylesheet" href="/static/css/style.css">
<link rel="stylesheet" href="/static/lib/custom-select/style.css">
</head>
<body style="text-align: center;">
<div class="confetti" id="confetti"></div>
<div style="display: inline-block;">
<div class="settings-box" id="settingsBox">
<form id="settingsForm" onsubmit="event.preventDefault()" style="width: 60px; height: 60px;">
<div id="mobileOptionsView" class="mobile-options-view">
Settings
<div class="mobile-options-arrow">
^
</div>
</div>
<div id="options" class="options" style="display: none;">
<div class="options-view">
<label for="categories">Category:</label>
<div style="margin-top: 5px">
<select id="categories"></select><br/>
</div>
<label for="difficulty">Difficulty:</label>
<div style="margin-top: 5px">
<select id="difficulties"></select><br/><br/>
</div>
<label for="colourSchemes">Colour Scheme:</label>
<div style="margin-top: 5px">
<select id="colourSchemes"></select><br/>
</div>
<div class="display-options">
<abbr class="dark-mode-switch" title="Dark Mode">
<label class="switch">
<input type="checkbox" id="darkMode"/>
<span class="slider round">
</label>
</abbr>
<abbr class="reset-mode-button" title="Reset Settings">
<input class="reset" type="button" id="resetButton"></button>
</abbr>
</div>
</div>
</div>
<div class="optionsLoading" id="optionsLoadImg">
<img src="static/img/loading.gif" style="width: 100%; height: 40px;">
</div>
<div class="event-listener" id="eventListener"></div>
</form>
</div>
<div class="stats">
<p>
Score: <x id="scoreNumber">0</x><br>
High Score: <x id="highScoreNumber">0</x><br>
Streak: <x id="streakNumber">0</x>
</p>
</div>
<div id="questions"></div>
</div>
<script src="/static/lib/custom-select/index.min.js"></script>
<script src="/static/js/colourSchemes.js"></script>
<script src="/static/js/settings.js"></script>
<script src="/static/js/confetti.js"></script>
<script src="/static/js/app.js"></script>
</body>
</html>