forked from martinkadlec0/Smart-RSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
286 lines (262 loc) · 11.1 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Smart RSS - Options</title>
<link rel="stylesheet" href="styles/option.css">
<script src="scripts/libs/jquery.min.js"></script>
<script src="scripts/options/options.js"></script>
</head>
<body>
<div id="wallpaper">
<div id="tool-container">
<div id="sidebar">
<div id="sidebar-icon"></div>
<h1>Smart RSS</h1>
</div>
<!-- sidebar -->
<div id="content">
<section>
<h3 class="section-header">Localization</h3>
<div class="settings-row learn-more" title="Contact me if you want to make translation for your lang.">
<label class="web-content-select-label">
<span class="selectLabel">Language:</span>
<select id="lang">
<option value="en">English</option>
<option value="cs">Čeština</option>
<option value="sk">Slovenčina</option>
<option value="de">Deutsch</option>
<option value="tr">Türkçe</option>
<option value="pl">Polski</option>
<option value="ru">Русский</option>
<option value="hu">Magyar</option>
<option value="nl">Nederlands</option>
<option value="fr">Français</option>
<option value="pt">Português</option>
<option value="hr">Hrvatski</option>
</select>
</label>
</div>
<div class="settings-row learn-more" title="Normal = DD.MM.YYYY, ISO = YYYY-MM-DD, US = MM/DD/YYYY">
<label class="web-content-select-label">
<span class="selectLabel">Date format:</span>
<select id="dateType">
<option value="normal">Normal</option>
<option value="iso">ISO</option>
<option value="us">US</option>
</select>
</label>
</div>
<div class="settings-row learn-more" title="Time format">
<label class="web-content-select-label">
<span class="selectLabel">Time format:</span>
<select id="hoursFormat">
<option value="24h">24h</option>
<option value="12h">12h (AM/PM)</option>
</select>
</label>
</div>
</section>
<section>
<h3 class="section-header">Appearance</h3>
<div class="settings-row learn-more" title="Color of icon that shows up in extension button when new articles are downloaded.">
<label class="web-content-select-label">
<span class="selectLabel">New articles notification icon:</span>
<select id="icon">
<option value="orange">Orange</option>
<option value="blue">Blue</option>
<option value="green">Green</option>
<option value="purple">Purple</option>
<option value="red">Red</option>
<option value="royalblue">Royal Blue</option>
</select>
</label>
</div>
<div class="settings-row learn-more" title="">
<label class="web-content-select-label">
<span class="selectLabel">Disable date groups:</span>
<input type="checkbox" id="disableDateGroups" />
</label>
</div>
<div class="settings-row learn-more" title="Makes the line betweens the three columns thicker.">
<label class="web-content-select-label">
<span class="selectLabel">Thick frame borders:</span>
<input type="checkbox" id="thickFrameBorders" />
</label>
</div>
<div class="settings-row learn-more" title="">
<label class="web-content-select-label">
<span class="selectLabel">Article font size:</span>
<input type="number" id="articleFontSize" min="50" max="150" step="10" />%
</label>
</div>
<div class="settings-row learn-more" title="">
<label class="web-content-select-label">
<span class="selectLabel">UI font size:</span>
<input type="number" id="uiFontSize" min="50" max="150" step="10" />%
</label>
</div>
<div class="settings-row learn-more" title="Replace favicon of feed with spinner animation during feed update.">
<label class="web-content-select-label">
<span class="selectLabel">Show spinner during update:</span>
<input type="checkbox" id="showSpinner" />
</label>
</div>
</section>
<section>
<h3 class="section-header">Behaviour</h3>
<div class="settings-row learn-more" title="This option will immidiately mark as read every article you visit in the right column.">
<label class="web-content-select-label">
<span class="selectLabel">Automatically mark articles as read:</span>
<input type="checkbox" id="readOnVisit" />
</label>
</div>
<div class="settings-row learn-more" title="When you select more than 10 feeds in article list and choose 'Open article link' options from context menu.">
<label class="web-content-select-label">
<span class="selectLabel">Ask when opening 10+ tabs:</span>
<input type="checkbox" id="askOnOpening" />
</label>
</div>
<div class="settings-row learn-more" title="Opera 12-like panel toggle to hide/show left column with list of feeds.">
<label class="web-content-select-label">
<span class="selectLabel">Enable pannel toggle:</span>
<input type="checkbox" id="enablePanelToggle" />
</label>
</div>
<div class="settings-row learn-more" title="Effects date in article list.">
<label class="web-content-select-label">
<span class="selectLabel">Always show full date:</span>
<input type="checkbox" id="fullDate" />
</label>
</div>
<div class="settings-row learn-more" title="If enabled, pressing arrow up in a list when the first item is selected will select the last item and visa-versa.">
<label class="web-content-select-label">
<span class="selectLabel">Circular navigation:</span>
<input type="checkbox" id="circularNavigation" />
</label>
</div>
<div class="settings-row learn-more" title="If enabled, title of article is a link to full article.">
<label class="web-content-select-label">
<span class="selectLabel">Title is link to full article:</span>
<input type="checkbox" id="titleIsLink" />
</label>
</div>
<div class="settings-row learn-more" title="Ask to prevent accidental removal of pinned items.">
<label class="web-content-select-label">
<span class="selectLabel">Ask when removing pinned items:</span>
<select id="askRmPinned">
<option value="none">Never</option>
<option value="trashed">On removal from trash</option>
<option value="all">Always</option>
</select>
</label>
</div>
<div class="settings-row learn-more" title="">
<label class="web-content-select-label">
<span class="selectLabel">Icon badge:</span>
<select id="badgeMode">
<option value="disabled">disabled</option>
<option value="unread"># of unread</option>
<option value="unvisited"># of unvisited</option>
</select>
</label>
</div>
</section>
<section>
<h3 class="section-header">Sound notifications</h3>
<div class="settings-row learn-more" title="If enabled, browser will make a sound when new articles are downloaded.">
<label class="web-content-select-label">
<span class="selectLabel">Enable sound notifications:</span>
<input type="checkbox" id="soundNotifications" />
</label>
</div>
<div class="settings-row learn-more" title="">
<label class="web-content-select-label">
<span class="selectLabel">Use sound:</span>
<select id="useSound">
<option value=":user">User sound</option>
<option value=":none">None</option>
<optgroup label="Default sounds">
<option value="knock">Knock</option>
<option value="taptap">Taptap</option>
<option value="glass">Glass</option>
<option value="pop">Pop</option>
<option value="nightbird">Nightbird</option>
</optgroup>
</select>
</label>
</div>
<div class="settings-row learn-more" title="Select sound file to be played.">
<label class="web-content-select-label">
<span class="selectLabel">User sound:</span>
<input type="file" id="default-sound" />
</label>
</div>
<div class="settings-row learn-more" title="">
<label class="web-content-select-label">
<span class="selectLabel">Volume:</span>
<span class="valspan">0% <input type="range" id="soundVolume" min="0" max="1" step="0.05" /> 100%</span>
</label>
</div>
</section>
<section>
<h3 class="section-header">Export</h3>
<div class="settings-row learn-more" title="SMART is special format of Smart RSS extension. It exports/imports both, feeds and feeds's articles.">
<label class="web-content-select-label">
<span class="selectLabel">SMART:</span>
<button id="export-smart">Export</button>
<a href="" id="smart-exported"></a>
</label>
</div>
<div class="settings-row learn-more" title="You can use OPML format to export feeds from Smart RSS to Opera 12.">
<label class="web-content-select-label">
<span class="selectLabel">OPML:</span>
<button id="export-opml">Export</button>
<a href="" id="opml-exported"></a>
</label>
</div>
</section>
<section>
<h3 class="section-header">Import</h3>
<div class="settings-row learn-more" title="SMART is special format of Smart RSS extension. It exports/imports all feeds, folders and articles.">
<label class="web-content-select-label">
<span class="selectLabel">SMART:</span>
<input type="file" id="import-smart">
<span id="smart-imported"></span>
</label>
</div>
<div class="settings-row learn-more" title="You can use OPML format to import feeds and folders from Opera 12 to Smart RSS.">
<label class="web-content-select-label">
<span class="selectLabel">OPML:</span>
<input type="file" id="import-opml">
<span id="opml-imported"></span>
</label>
</div>
</section>
<section>
<h3 class="section-header">Clear data</h3>
<div class="settings-row learn-more" title="This will remove all yours feeds and articles and settings.">
<label class="web-content-select-label">
<span class="selectLabel">Remove ALL extension data:</span>
<button id="clear-data">!!Clear!!</button>
<span id="data-cleared"></span>
</label>
</div>
</section>
<section>
<h3 class="section-header">Version</h3>
<p id="version"></p>
</section>
<section>
<h3 class="section-header">Bug reports and feedback</h3>
<p>If you found some bug or have some nice suggestion or you want to follow up on development, head over to following link :</p>
<a href="http://blog.martinkadlec.eu/post/501-smart-rss-final-v10">Martin Kadlec (BS-Harou) | Blog</a>.
</section>
</div>
<!-- content -->
</div>
<!-- tool-container -->
</div>
<!-- wallpaper -->
</body>
</html>