-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
73 lines (71 loc) · 1.83 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>StretchBreak</title>
<link rel="stylesheet" href="popup.css" />
</head>
<body id="extension">
<div id="mainPage">
<header id="mainHeader">
<h1>StretchBreak</h1>
<button type="button" class="btn" id="settings"></button>
</header>
<div id="mainDiv">
<span id="timeDisplay">00:00:00</span>
<button type="button" class="btn" id="startTimer">Start Timer</button>
<button type="button" class="btn" id="stopTimer">Stop Timer</button>
</div>
</div>
<div id="settingsPage">
<header id="settingsHeader">
<h1>Settings</h1>
<button type="button" class="btn" id="home"></button>
</header>
<div>
<h2>Work Sprint Duration</h2>
<input
id="WorkSprintHours"
type="number"
min="0"
max="12"
step="1"
name="hours"
/>
<span>hrs :</span>
<input
id="WorkSprintMins"
type="number"
min="0"
max="59"
step="1"
name="minutes"
/>
<span>mins</span>
<button type="button" class="btn" id="setWorkSprint">Set</button>
<h2>Stretch Break Duration</h2>
<input
id="StretchBreakHours"
type="number"
min="0"
max="12"
step="1"
name="hours"
/>
<span>hrs :</span>
<input
id="StretchBreakMins"
type="number"
min="0"
max="59"
step="1"
name="minutes"
/>
<span>mins</span>
<button type="button" class="btn" id="setStretchBreak">Set</button>
</div>
</div>
<script src="popup.js"></script>
<script src="background.js"></script>
</body>
</html>