-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpopup.html
44 lines (39 loc) · 1.26 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
<!-- HTML for when a user clicks on the icon in the tabbar -->
<!DOCTYPE html>
<html>
<head>
<title>Snapper Screenshot</title>
<link href="popup.css" rel="stylesheet" type="text/css" />
<link href="onoffswitch.css" rel="stylesheet" type="text/css" />
</head>
<body class="dark-theme || light-theme">
<!-- Buttons for each capture option -->
<div class="btn-group">
<button id="customArea">
<span class="btn-icon" id="custom-btn-icon"></span>
Custom Area
</button>
<button id="visibleContent">
<span class="btn-icon" id="visible-btn-icon"></span>
Visible Content
</button>
<button id="fullPage">
<span class="btn-icon" id="full-btn-icon"></span>
Full Page
</button>
</div>
<!-- On/Off switch: https://proto.io/freebies/onoff/ -->
<div class="darkmode">
<p>Dark Mode</p>
<div class="onoffswitch-container">
<input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="onoffswitch" tabindex="0" checked />
<label class="onoffswitch-label" for="onoffswitch">
<span class="onoffswitch-inner"></span>
<span class="onoffswitch-switch"></span>
</label>
</div>
</div>
</body>
<script src="popup.js"></script>
<script src="background.js"></script>
</html>