-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathoptions.html
65 lines (65 loc) · 3.22 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<head>
<title>Tab Decay Settings</title>
<link rel="stylesheet" type="text/css" href="chrome-bootstrap.css" />
<script src="shared.js"></script>
<script src="options.js"></script>
</head>
<body style="padding: 1em;">
<div class="content">
<h1>Tab Decay Settings</h1>
<p>
<input type="checkbox" name="dt_enabled" id="dt_enabled"> <label for="dt_enabled">Enable Tab Decay</label>
</p>
<h3>Bookmarking</h3>
<section>
<div>
Bookmark and close tabs unused for
<input name="dt_decay_value" id="dt_decay_value" size="5" type="text">
<select name="dt_decay_interval" id="dt_decay_interval">
<option value="1" id="dt_decay_interval_1">Seconds</option>
<option value="60" id="dt_decay_interval_60">Minutes</option>
<option value="3600" id="dt_decay_interval_3600">Hours</option>
<option value="86400" id="dt_decay_interval_86400">Days</option>
<option value="604800" id="dt_decay_interval_604800">Weeks</option>
</select>
<br />
<small>Tab Decay will save your bookmarks in dated folders inside Other Bookmarks -> Tab Decay.</small>
</div>
<div class="checkbox">
<p>Future option: Close oldest tab after N open tabs.</p>
</div>
</section>
<h3>Archival (<a href="#" id="dt_archive_user_link" target="_blank">view your archive</a>)</h3>
<section>
<p>
Saves an HTML copy and a screenshot of the page to our server. All requests use SSL, and all uploads are visible only to you (unless you share your archive URL).
</p>
<div class="checkbox">
<input type="checkbox" name="dt_archive_enabled" id="dt_archive_enabled"> <label for="dt_archive_enabled">Archive pages using Tab Decay web service</label>
</div>
</section>
<h3>Encryption</h3>
<section>
<p>
Enable encryption if you don't want any record on our server of the page's URL or contents when archiving pages. All encryption and decryption occurs on your computer.
</p>
<div class="checkbox">
<input type="checkbox" name="dt_archive_encryption_enabled" id="dt_archive_encryption_enabled"> <label for="dt_archive_encryption_enabled">Encrypt archived tabs</label>
</div>
<div id="dt_archive_encryption_set_pass">
Password: <input type="text" name="dt_archive_encryption_pass" id="dt_archive_encryption_pass"> <span id="dt_archive_encryption_pass_status"></span> <button id="dt_archive_encryption_pass_save">Generate Key</button> <button id="dt_archive_encryption_pass_cancel">Cancel</button>
</div>
<div id="dt_archive_encryption_pass_exists">
<p>You have setup your encryption key. Any changes will make existing encrypted data unreadable, so it's best to leave this alone unless you're sure you want to start over.</p>
<p><button id="dt_archive_encryption_change_pass">Change Password</button></p>
</div>
</section>
<p>
<button id="dt_save_settings">Save</button>
<button id="dt_reset_settings">Reset</button>
<span id="dt_save_status"></span>
</p>
</div>
</body>
</html>