-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
70 lines (64 loc) · 1.72 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'"
/>
<link
rel="stylesheet"
href="./node_modules/bootstrap/dist/css/bootstrap.min.css"
/>
</head>
<body>
<div class="progress mb-2" style="border-radius: 0px">
<div class="progress-bar bg-primary"></div>
</div>
<h1 class="text-center text-primary" id="workInputLabel">0</h1>
<input
type="range"
class="form-range"
min="5"
max="45"
step="5"
id="workInput"
/>
<h1 class="text-center text-primary" id="restInputLabel">0</h1>
<input
type="range"
class="form-range"
min="1"
max="15"
step="1"
id="restInput"
/>
<div class="mt-4 d-flex justify-content-between gap-4 px-4">
<button
type="button"
id="resetBtn"
class="btn btn-outline-danger"
style="width: 100%"
>
Reset
</button>
<button
type="button"
id="startBtn"
class="btn btn-outline-primary"
style="width: 100%"
>
Start
</button>
</div>
<!-- Toggle for minimize window to tray -->
<div class="mt-3 d-flex justify-content-center gap-2 small">
<input id="trayToggle" type="checkbox" />
<label for="trayToggle">Minimize window to tray</label>
</div>
<!-- You can also require other files to run in this process -->
<script src="./index.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
</body>
</html>