-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
37 lines (30 loc) · 1.29 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<p id="currentSettings"></p>
<div style="display: inline-flex;">
<input id="level_input" type="number" placeholder="Set a battery level for alert in %"/>
<p style="margin-left: 3px;">%</p>
</div>
<div style="display: inline-flex;">
<input name='do_not_show_notification_again' type='checkbox' id='do_not_show_notification_again' />
<label for='do_not_show_notification_again'>Do not create a new notification if the previous one is cleared</label>
</div>
<div style="display: inline-flex;">
<input name='warning' type='checkbox' id='warning' />
<label for='warning'>Show fullscreen warning</label>
</div>
<div id="enable_warning_level_container" style="visibility: hidden; display: inline-flex;">
<input name='enable_warning_level' type='checkbox' id='enable_warning_level' />
<label for='enable_warning_level'>Configure separate battery level for fullscreen warning: </label>
</div>
<div id="warning_level_input_container" style="visibility: hidden; display: inline-flex;">
<input id="warning_level_input" type="number" placeholder="Set a battery level for alert in %"/>
<p style="margin-left: 3px;">%</p>
</div>
</body>
<script src="popup.js"></script>
</html>