-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.html
68 lines (68 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
66
67
68
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>
Options :: Tab Rotator
</title>
<style type="text/css">
body {font-family: arial, sans-serif;margin:2em;background-color:#f1f1f1;}
div#topline {background-image:url('revolver_t_48.png');background-repeat: no-repeat;padding:0 5px 5px 55px;}
h1 {margin:0;padding:0;letter-spacing:-2px;}
span.byline {font-size:.7em;color:#999;}
span.byline a {color:#777;}
input {font-size:.8em;border:1px solid #ccc;padding:3px;}
label {font-size:.8em;}
span.example {font-size:.7em;color:#999;display:block;}
div#settings {margin:0 2em;background-color: #ffffff;border: 1px solid #ccc;border-radius: 10px 10px;padding: 10px 30px 30px 30px;}
div#settings p {border-bottom: 1px dotted #ccc;padding-bottom:3px;}
span#status, span#status2 {color:#ff6103;padding:0 1em;font-weight:bold;font-size:10px;}
div.saveheader {margin:.5em 2em .5em 0;text-align:right;}
p.thanks {font-size:.8em;margin:2em 0;}
</style>
</head>
<body>
<div id="topline">
<h1>
Tab Rotator
</h1>
<span class="byline">by <a href="https://plus.google.com/107053744732078229842/about">Karthik Chandraraj</a>
</span>
<div class="saveheader">
<span id="status"></span><button id="savetop">Save</button>
</div>
</div>
<div id="settings">
<p>
<label for="seconds">Default interval in seconds:</label>
<input type="text" name="seconds" id="seconds" style="width:30px;">
<span class="example">
The number of seconds to show a tab before switching ex. <strong>10</strong>
</span>
</p>
<p>
<label for="tabIntervalList">Tab specific time :</label>
<input type="text" name="tabIntervalList" id="tabIntervalList" style="width:100px;">
<span class="example">Tab specific time in seconds, separate values by comma. <strong>ex: 20,40,10</strong></span>
</p>
<p>
<label for="autostart">Auto Start:</label> <input type="checkbox" name="autostart" id="autostart"><span class="example">Automatically start Revolver Tabs on browser startup.</span>
</p>
<p>
<label for="reload">Reload:</label> <input type="checkbox" name="reload" id="reload"><span class="example">Check this box to reload the tab each time before it is shown.</span>
</p>
<p>
<label for="noRefreshList">Blacklist for URLs that should not be reloaded:</label><br/>
<textarea name="noRefreshList" id="noRefreshList" rows="10" cols="80">
</textarea><span class="example">The list should have full URLs, each separated by a new line</span>
</p>
<p>
<label for="inactive">Rotate only when inactive:</label> <input type="checkbox" name="inactive" id="inactive"><span class="example"><strong>Rotation will pause</strong> if the browser has been interacted with within 15 seconds.</span>
</p>
<button id="save">Save</button><span id="status2"></span>
</div>
<p class="thanks">
Code forked from Revolver Tabs. Thanks to its creator - Ben Hedrington.
</p>
<script src="options_script.js" type="text/javascript"></script>
</body>
</html>