-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
65 lines (58 loc) · 2.01 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
<!doctype html>
<html>
<head>
<title>Hocus Focus Popup</title>
<body style="width:200px; height:310px">
<link rel="stylesheet" href="popup.css">
</head>
<body>
<!-- Handles the top name and logo elements -->
<div class="wrapper">
<div class="box1" style="text-align: center">
<h1>Hocus Focus</h1>
</div>
<div class="box2" style="margin-top: 10px; text-align: center">
<img src='extension_images/Wand.png' width="60" height="60"
align="center" id='BookIcon'>
</div>
</div>
<!-- Creates line between logo and name and rest of elements -->
<hr>
<!-- Creates inner wrapper for slider, timer, and rest of elements-->
<div class="innerwrapper">
<!-- Wraps toggle button -->
<div class="innerbox1" style="text-align: center">
<!--Class Switch handles the toggle button-->
<label class="switch">
<input type="checkbox" id="togBtn">
<div class="slider round">
<!--ADDED HTML, text inside the slider box -->
<span class="study on">STOP</span>
<span class="study off">START</span>
<!--END-->
</div>
</label>
</div>
<!-- Wraps timer -->
<div class="innerbox2" style="text-align: center">
<h1>
<span id="hour">00</span> :
<span id="min">00</span> :
<span id="sec">00</span>
</h1>
</div>
<!-- Wraps total hours studied and timer -->
<div class="innerbox3" style="text-align: center">
<h3>Total Time Studied:
<h1>
<span id="totalHour">00</span> :
<span id="totalMin">00</span> :
<span id="totalSec">00</span>
</h1></h3>
<a href="options.html" class="button">Settings</a>
<button id='clear_button'>Clear Total Time Studied</button>
</div>
</div>
<script src="popup.js"></script>
</body>
</html>