-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
49 lines (48 loc) · 1.53 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="popup.css">
</head>
<body>
<div class="popup">
<div class="logo">
<img src="images/icon128.png" alt="Logo">
</div>
<div class="toggle-filter">
<label for="filter-toggle">Filter Comments</label>
<label class="switch">
<input type="checkbox" id="filter-toggle">
<span class="slider round"></span>
</label>
</div>
<button id="settings-button">Settings</button>
</div>
<div class="settings-popup" style="display: none;">
<div class="child-safety-lock">
<label for="child-safety-toggle">Child Safety Lock</label>
<label class="switch">
<input type="checkbox" id="child-safety-toggle">
<span class="slider round"></span>
</label>
</div>
<div class="toxicity-level">
<label for="toxicity-slider">Toxicity Level: <span id="toxicity-level-value">0.50</span></label>
<input type="range" id="toxicity-slider" min="0.0" max="1.0" step="0.01">
</div>
<button id="filter-button">Custom Filter</button>
<button id="back-button">Back</button>
</div>
<div class="filter" style="display: none;">
<div>
<input type="text" id="word-input" placeholder="Filter word">
<button id="add-button">Add</button>
</div>
<div class="word-list-container">
<div id="word-list"></div>
</div>
<span id="del">Click words to remove</span>
<button id="back-button2">Back</button>
</div>
<script src="popup.js"></script>
</body>
</html>