-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathoptions.html
277 lines (277 loc) · 8.97 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title data-msg="optionsTitle"></title>
<link rel="icon" href="icons/32.png">
<link rel="stylesheet" href="page.css">
<link rel="stylesheet" href="options.css">
</head>
<body>
<div hidden id="firstinstall" class="barmsg" data-msg="optionsFirstInstall"></div>
<div hidden id="update" class="barmsg">
test
</div>
<div id="main">
<h1><img id="tidstar" src="icons/52.png" alt="TiddlyMarker Logo" width="26" height="26"> <span data-msg="optionsTitle"></span></h1>
<section>
<h2 data-msg="optionsGeneralHeading"></h2>
<div>
<span><input disabled type="checkbox" autocomplete="off" id="quickmode"></span>
<label for="quickmode" class="greyout" data-msg="quickmodeLabel"></label>
</div>
<div>
<span></span>
<small class="quickmode greyout" data-msg="quickmodeDesc"></small>
</div>
<div>
<span><input disabled type="checkbox" autocomplete="off" id="reqfav"></span>
<label for="reqfav" class="greyout" data-msg="reqfavLabel"></label>
</div>
<div>
<span></span>
<small class="reqfav greyout" data-msg="reqfavDesc"></small>
</div>
<div>
<span><input disabled type="text" autocomplete="off" id="default_tags"></span>
<label for="default_tags" class="greyout" data-msg="default_tagsLabel"></label>
</div>
<div>
<span></span>
<small class="default_tags greyout" data-msg="default_tagsDesc"></small>
</div>
<div>
<span>
<select disabled autocomplete="off" id="savingmode">
<option value="download" data-msg="savingmode_downloadLabel"></option>
<option value="webserver" data-msg="savingmode_webserverLabel"></option>
</select>
</span>
<label for="savingmode" class="greyout" data-msg="savingmodeLabel"></label>
</div>
<div>
<span></span>
<dl class="savingmode greyout">
<div>
<dt data-msg="savingmode_downloadLabel"></dt>
<dd data-msg="savingmode_downloadDesc"></dd>
</div>
<div>
<dt data-msg="savingmode_webserverLabel"></dt>
<dd data-msg="savingmode_webserverDesc"></dd>
</div>
</dl>
</div>
</section>
<section id="popup_prefs" class="greyout">
<h2 data-msg="popupHeading"></h2>
<div>
<span><input disabled type="checkbox" autocomplete="off" id="careful"></span>
<label for="careful" class="greyout" data-msg="carefulLabel"></label>
</div>
<div>
<span></span>
<small class="careful greyout" data-msg="carefulDesc"></small>
</div>
<div>
<span><input disabled type="checkbox" autocomplete="off" id="show_text"></span>
<label for="show_text" class="greyout" data-msg="show_textLabel"></label>
</div>
<div>
<span></span>
<small class="show_text greyout" data-msg="show_textDesc"></small>
</div>
<div>
<span><input disabled type="checkbox" autocomplete="off" id="show_tags"></span>
<label for="show_tags" class="greyout" data-msg="show_tagsLabel"></label>
</div>
<div>
<span></span>
<small class="show_tags greyout" data-msg="show_tagsDesc"></small>
</div>
</section>
<section id="download_prefs" class="greyout">
<h2 data-msg="savingmode_downloadHeading"></h2>
<div>
<span><input disabled type="checkbox" autocomplete="off" id="savebox"></span>
<label for="savebox" class="greyout" data-msg="saveboxLabel"></label>
</div>
<div>
<span></span>
<small class="savebox greyout" data-msg="saveboxDesc"></small>
</div>
</section>
<section id="webserver_prefs" class="greyout">
<h2 data-msg="savingmode_webserverHeading"></h2>
<div>
<span>
<input disabled type="text" autocomplete="off" id="address">
</span>
<label for="address" class="greyout" data-msg="addressLabel"></label>
</div>
<div>
<span></span>
<small class="address greyout" data-msg="addressDesc"></small>
</div>
<div>
<span>
<input disabled type="checkbox" autocomplete="off" id="auth">
</span>
<label for="auth" class="greyout" data-msg="authLabel"></label>
</div>
<div>
<span></span>
<div id="authsub">
<div>
<label for="username" class="greyout"><span data-msg="usernameLabel"></span> </label>
<span>
<input disabled type="text" autocomplete="off" id="username">
</span>
</div>
<div>
<label for="password" class="greyout"><span data-msg="passwordLabel"></span> </label>
<span>
<input disabled type="password" autocomplete="off" id="password">
</span>
</div>
</div>
</div>
<div>
<span>
<input disabled type="checkbox" autocomplete="off" id="safety">
</span>
<label for="safety" class="greyout" data-msg="safetyLabel"></label>
</div>
<div>
<span></span>
<small class="safety greyout" data-msg="safetyDesc"></small>
</div>
</section>
<section>
<h2 data-msg="optionsFormattingHeading"></h2>
<div>
<span>
<input disabled type="button" autocomplete="off" id="reset_bookmark_fmt" data-msg="optionsResetButton">
</span>
<span class="bookmark_fmt greyout" data-msg="bookmark_fmtLabel"></span>
</div>
<div>
<span></span>
<div>
<pre class="bookmark_fmt greyout">let bookmark_fmt = (rawtitle, title, tags, text, url, icon) => {</pre>
<textarea disabled autocomplete="off" id="bookmark_fmt" rows="1"></textarea>
<pre class="bookmark_fmt greyout">}</pre>
<dl class="bookmark_fmt greyout">
<div>
<dt><code>rawtitle</code></dt>
<dd data-msg="bookmark_fmt_rawtitleDesc"></dd>
</div>
<div>
<dt><code>title</code></dt>
<dd data-msg="bookmark_fmt_titleDesc"></dd>
</div>
<div>
<dt><code>tags</code></dt>
<dd data-msg="bookmark_fmt_tagsDesc"></dd>
</div>
<div>
<dt><code>text</code></dt>
<dd data-msg="bookmark_fmt_textDesc"></dd>
</div>
<div>
<dt><code>url</code></dt>
<dd data-msg="bookmark_fmt_urlDesc"></dd>
</div>
<div>
<dt><code>icon</code></dt>
<dd data-msg="bookmark_fmt_iconDesc"></dd>
</div>
</dl>
<p class="bookmark_fmt greyout"><small data-msg="bookmark_fmtExplanation"></small></p>
<p class="bookmark_fmt greyout"><small data-msg="bookmark_fmtSanityWarning"></small></p>
</div>
</div>
<div>
<span>
<input disabled type="checkbox" autocomplete="off" id="favicon_separate">
</span>
<label for="favicon_separate" class="greyout" data-msg="favicon_separateLabel"></label>
</div>
<div>
<span></span>
<small class="favicon_separate greyout" data-msg="favicon_separateDesc"></small>
</div>
<div>
<span>
<input disabled type="button" autocomplete="off" id="reset_favicon_fmt" data-msg="optionsResetButton">
</span>
<span class="favicon_fmt greyout" data-msg="favicon_fmtLabel"></span>
</div>
<div>
<span></span>
<div>
<pre class="favicon_fmt greyout">let icon_fmt = (data, hash, mime, datauri, ext) => {</pre>
<textarea disabled autocomplete="off" id="favicon_fmt" rows="1"></textarea>
<pre class="favicon_fmt greyout">}</pre>
<dl class="favicon_fmt greyout">
<div>
<dt><code>data</code></dt>
<dd data-msg="favicon_fmt_dataDesc"></dd>
</div>
<div>
<dt><code>hash</code></dt>
<dd data-msg="favicon_fmt_hashDesc"></dd>
</div>
<div>
<dt><code>mime</code></dt>
<dd data-msg="favicon_fmt_mimeDesc"></dd>
</div>
<div>
<dt><code>datauri</code></dt>
<dd data-msg="favicon_fmt_datauriDesc"></dd>
</div>
<div>
<dt><code>ext</code></dt>
<dd data-msg="favicon_fmt_extDesc"></dd>
</div>
</dl>
<p class="favicon_fmt greyout"><small data-msg="favicon_fmtExplanation"></small></p>
</div>
</div>
</section>
<section>
<h2 data-msg="optionsMetaHeading"></h2>
<div>
<span>
<input type="checkbox" autocomplete="off" id="textarea_tabs">
</span>
<span>
<label for="textarea_tabs" data-msg="textarea_tabsLabel"></label>
</span>
</div>
<div>
<span></span>
<small class="textarea_tabs" data-msg="textarea_tabsDesc"></small>
</div>
<div>
<span>
<input disabled type="button" autocomplete="off" id="reset_all" data-msg="optionsResetButton">
</span>
<span>
<input disabled type="checkbox" autocomplete="off" id="unlock_reset">
<label for="unlock_reset" class="greyout" data-msg="unlock_resetLabel"></label>
</span>
</div>
<div>
<span></span>
<small class="unlock_reset greyout" data-msg="unlock_resetWarning"></small>
</div>
</section>
</div>
<script src="strings.js"></script>
<script src="textarea_autoresize.js"></script>
<script src="storage.js"></script>
<script src="util.js"></script>
<script src="options.js"></script>
</body>
</html>