-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (75 loc) · 2.99 KB
/
Copy pathindex.html
File metadata and controls
82 lines (75 loc) · 2.99 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<link id="themeSheet" rel="stylesheet" href="simpleLight.css">
<script src="main.js"></script>
<title>Timer</title>
<link rel="icon" href="clock.svg">
</head>
<body>
<div id="timer">
<h1 id="timerText">00:00:00.000</h1>
</div>
<br>
<button id="start" onclick="startTimer()">Start</button>
<button id="pause">Pause</button>
<button id="reset" onclick="stopTimer()">Reset</button>
<br><br>
<label for="msCheckbox">Display milliseconds?</label>
<input id="msCheckbox" type="checkbox" checked>
<br><br>
<label for="funCheckbox">Fun mode?</label>
<input id="funCheckbox" type="checkbox">
<br><br>
<label for="theme">Theme:</label>
<select id="theme">
<option value="light">Simple Light</option>
<option value="dark">Simple Dark</option>
<option value="green">Greenscreen</option>
<option value="purple">Purple Gradient</option>
</select>
<br><br>
<label for="dropdown">Choose type:</label>
<select id="dropdown">
<option value="incremental">Incremental</option>
<option value="decremental">Decremental</option>
</select>
<div id="decrementalOptions" class="hidden">
<div id="quickOptions">
<h3>Quick Set</h3>
<button id="30s" onclick="setDecrementTime(30000)">30s</button>
<button id="1m" onclick="setDecrementTime(60000)">1m</button>
<button id="5m" onclick="setDecrementTime(300000)">5m</button>
<button id="10m" onclick="setDecrementTime(600000)">10m</button>
<button id="30m" onclick="setDecrementTime(1800000)">30m</button>
<button id="1h" onclick="setDecrementTime(3600000)">1h</button>
</div>
<br>
<div id="setTime">
<h3>Manual Set</h3>
<input type="number" id="hourInput" min="0" max="999" value="0">
<label for="hourInput">hr</label>
<input type="number" id="minuteInput" min="0" max="59" value="0">
<label for="minuteInput">min</label>
<input type="number" id="secondInput" min="0" max="59" value="0">
<label for="secondInput">sec</label>
<input type="number" id="msInput" min="0" max="999" value="0">
<label for="msInput">ms</label>
<button onclick="manualTimeSubmit()">Go!</button>
</div>
<br>
<div id="audioOptions">
<h3>Audio</h3>
<label for="audioCheckbox">Play alarm sound?</label>
<input id="audioCheckbox" type="checkbox" checked>
</div>
</div>
<br><br><br>
<div id="attributions">
<a href="https://freesound.org/people/kwahmah_02/sounds/250629/">Alarm Sound</a> by
<a href="https://freesound.org/people/kwahmah_02/">kwahmah_02</a> | License: <a href="https://creativecommons.org/licenses/by/3.0/">Attribution 3.0</a>
</div>
</body>
</html>