-
Notifications
You must be signed in to change notification settings - Fork 2
/
popup.html
55 lines (50 loc) · 1.45 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
<!DOCTYPE html>
<html>
<head>
<title>Tab Revive Pro</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="popup.js" type="module"></script>
</head>
<body>
<div class="container">
<h1>Tab Revive Pro</h1>
<div class="option">
<label for="enableCheckbox">Active/In Active:</label>
<input type="checkbox" id="enableCheckbox">
</div>
<div class="option">
<label>Action:</label>
<div class="radio-group">
<label for="scrollRadio">
<input type="radio" id="scrollRadio" name="actionRadio" value="Keep Active" checked>
Keep Active
</label>
<label for="refreshRadio">
<input type="radio" id="refreshRadio" name="actionRadio" value="Refresh">
Refresh
</label>
</div>
</div>
<div class="option">
<label for="intervalInput">Interval (seconds):</label>
<input type="number" id="intervalInput" min="1" class="small-input">
<span class="default-interval">(Default: 60 seconds)</span>
</div>
<button id="saveButton">Save Settings</button>
<div id="statusMessage"></div>
<h2>Enabled Sites</h2>
<table id="sitesTable">
<thead>
<tr>
<th>Site</th>
<th>Action</th>
<th>Refresh Time (seconds)</th>
<th>TimerId</th>
<th>Status</th>
</tr>
</thead>
<tbody id="sitesTableBody"></tbody>
</table>
</div>
</body>
</html>