-
Notifications
You must be signed in to change notification settings - Fork 14
/
options.html
67 lines (64 loc) · 3.16 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
<html>
<head>
<title>Options :: Revolver - Tabs</title>
<style type="text/css">
body {font-family: arial, sans-serif;margin:2em;background-color:#f1f1f1; font-size: 16px;}
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;}
ul { list-style: none; }
</style>
</head>
<body>
<div id="topline">
<h1>Revolver - Tabs</h1>
<span class="byline">by <a href="http://www.buildcontext.com/">Ben Hedrington</a> Twitter: <a href="http://twitter.com/benhedrington">@benhedrington</a></span>
<div class="saveheader"><span id="status"></span><button id="savetop" class="save-btn">Save</button></div>
</div>
<div id="settings">
<p>
<label for="seconds">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="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="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>
<div>
<label>Reload-able tab</label>
<span class="example">Checked tabs will reload before opening</span>
<ul id="tab-list">
</ul>
</div>
<!-- <p>
<label for="noRefreshList">Blacklist for URLs that should not be reloaded:</label>
<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> -->
<button id="save" class="save-btn">Save</button><span id="status2"></span>
</div>
<p class="thanks">Special thanks for <a href="https://code.google.com/p/revolver-chrome-extensions/">open source code contributions</a> from Fred Emmott and Aurimas Liutikas.</p>
<script src="options_script.js"></script>
</body>
</html>