-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.html
More file actions
84 lines (77 loc) · 2.59 KB
/
options.html
File metadata and controls
84 lines (77 loc) · 2.59 KB
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<title>New Tab Options</title>
<style>
body { font-size: 14px; }
h1 { font-size: 1em; font-weight: bold; margin: 2em 0 0.5em; }
input[type="text"] { margin-left: 0; width: 225px; }
.nowrap { white-space: nowrap; }
.setting span { display: inline-block; margin: 0.5em 0 0 1em; }
span.note { font-size: 0.8em; font-style: italic; margin: 0.75em; }
a.helpLink { display: block; margin-bottom: 2em; }
div[role="status"] { color: tomato; display: inline-block; margin-left: 0.5em; }
</style>
</head>
<body>
<h1>Image Preferences</h1>
<div class="setting">
<label>Which subreddit or multireddit?</label>
<br>
<span>www.reddit.com</span>
<input type="text" role="subreddit" placeholder="/r/EarthPorn">
<span class="note">
For multireddits, input the entire url after "reddit.com",<br>
e.g. <i class="nowrap">"/user/kjoneslol/m/sfwpornnetwork"</i>.
</span>
<span class="note">Only public multireddits are supported.</span>
</div>
<table>
<tr>
<td><label>Sort type?</label></td>
<td>
<select role="sort">
<option value="top">Top</option>
<option value="hot">Hot</option>
<option value="new">New</option>
<option value="rising">Rising</option>
<option value="controversial">Controversial</option>
</select>
</td>
</tr>
<tr>
<td><label>From how long ago?</label></td>
<td>
<select role="period">
<option value="hour">Past Hour</option>
<option value="day">Past Day</option>
<option value="week">Past Week</option>
<option value="month">Past Month</option>
<option value="year">Past Year</option>
<option value="all">All Time</option>
</select>
</td>
</tr>
</table>
<h1>Time and Date Preferences</h1>
<table>
<tr>
<td><label for="_24hr">Use 24-hour clock?</label></td>
<td><input type="checkbox" role="_24hr" id="_24hr"></td>
</tr>
<tr>
<td><label for="showTime">Show time?</label></td>
<td><input type="checkbox" role="showTime" id="showTime"></td>
</tr>
<tr>
<td><label for="showDate">Show date?</label></td>
<td><input type="checkbox" role="showDate" id="showDate"></td>
</tr>
</table>
<h1>Help</h1>
<a href="https://chrome.google.com/webstore/detail/tabbit/ddbkjbhabfgacalhbinalknoecialihh/support" class="helpLink">Bugs, feedback or suggestions?</a>
<button role="save">Save</button>
<div role="status"></div>
<script src="scripts/options.js"></script>
</body>
</html>