forked from developerish/tab-count
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
32 lines (27 loc) · 1.17 KB
/
options.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
<!DOCTYPE html>
<html>
<head>
<title>TabCount Options</title>
<style>
body: { padding: 10px; }
</style>
</head>
<body>
<h3>Popup window</h3>
<form name="popupOptionsForm">
<label><input type="radio" id ="defaultPopupSelection" name="tabCountRadios" value="currentWindow">List tabs from the current window only<br></label>
<label><input type="radio" name="tabCountRadios" value="allWindows">List tabs from all windows<br></label>
</form>
<label><input type="checkbox" id="tabDedupe" name="tabDedupe" value="dedupe">Detect and prompt duplicate tab creation.<br></label>
<label><input type="checkbox" id="tabJanitor" name="tabJanitor" value="tabJanitor"/>Auto-close tabs unused for more than
<input type="number" id="tabJanitorDays" name="tabJanitorDays" value="5" min="1" max="30"/> days.</label><br>
<div id="status"></div>
<br>
<hr>
<h3>Current Stats</h3>
Total number of windows: <span id="windowsCount"></span> <br>
Total number of tabs: <span id="tabsCount"></span> <br>
<input type="button" id="refreshButton" value="Refresh Stats">
</body>
<script src="js/options.js"></script>
</html>