-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
78 lines (73 loc) · 2.28 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
<!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" />
<link
href="https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="control.css" />
<title>Stopwatch</title>
</head>
<body>
<div class="stopwatch">
<h2 class="heading">
🕹️ Controller |
<a href="./browser.html" target="_blank">Goto receiver</a>
</h2>
<div class="timer">
<div class="time">00:00</div>
<p class="divider">|</p>
<p id="half-status">1st Half</p>
</div>
<div>
<span class="add-time">+00</span>
<span class="divider">:</span>
<span class="add-timing">00:00</span>
</div>
</div>
<div class="controls">
<h2>Timing Controls</h2>
<div class="box half-selection">
<h4>Select half</h4>
<div class="select-half">
<input
type="radio"
id="first"
name="halfSelect"
value="first"
checked
/>
<label for="first" class="mr-1">1st Half</label>
<input type="radio" id="second" name="halfSelect" value="second" />
<label for="second">2st Half</label>
</div>
</div>
<div class="box start-time">
<h4>Set start times:</h4>
<label>Minute: </label>
<input type="number" id="minute-input" placeholder="mn" />
<p id="starttime-error" class="mt-half"></p>
</div>
<div class="box add-time">
<h4>Additional Time:</h4>
<label>Add minutes: </label>
<input type="number" id="addtime-input" placeholder="mn" />
<p id="addtime-error" class="mt-half"></p>
<div class="btn-group">
<button id="start-add">Start</button>
<button id="stop-add">Stop</button>
<button id="reset-add">Reset</button>
</div>
</div>
<div class="btn-group">
<button id="start">Start</button>
<button id="stop">Stop</button>
<button id="reset">Reset</button>
</div>
</div>
</body>
<script src="control.js"></script>
</html>