-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.html
111 lines (111 loc) · 4.08 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
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<link rel="shortcut icon" type="image/png" href="images/icon18.png" />
<link rel="stylesheet" type="text/css" href="common.css">
<link rel="stylesheet" type="text/css" href="options.css">
<script type="text/javascript" src="lib/jszip/jszip.min.js"></script>
<script src="load.js"></script>
<script src="common.js"></script>
<title data-i18n=extName></title>
</head>
<body>
<div class=main>
<div class=sidebar>
<img src=images/icon64.png>
<h1 data-i18n=extName></h1>
<p>2013-2014</p>
<hr>
<div class=sidemenu>
<a id=smInstalled href=#Installed data-i18n=sideMenuInstalled></a>
<a id=smSettings href=#Settings data-i18n=sideMenuSettings></a>
<a id=smAbout href=#About data-i18n=sideMenuAbout></a>
</div>
</div>
<div class=content>
<table id=tabInstalled class=hide>
<tr>
<td>
<button id=bNew data-i18n=buttonNew></button>
<button id=bUpdate data-i18n=anchorUpdateAll></button>
<a href=https://userstyles.org target=_blank data-i18n=anchorGetMoreStyles></a>
</td>
</tr>
<tr class=expand>
<td class=expandr>
<div id=sList class=expanda>
<span id=message data-i18n=msgLoading></span>
</div>
</td>
</tr>
</table>
<div id=tabSettings class=hide>
<h1 data-i18n=labelSettings></h1>
<label><input type=checkbox id=cShow><span data-i18n=labelShowButton></span></label>
<fieldset>
<legend data-i18n=labelDataImport></legend>
<div id=dImport><button data-i18n=buttonImportData></button><input id=aImport type=file></div>
</fieldset>
<fieldset>
<legend data-i18n=labelDataExport></legend>
<b data-i18n=labelStylesToExport></b>
<label><input type=checkbox id=cFirefox><span data-i18n=labelFirefoxCSS></span></label>
<div id=xList class=list></div>
<button id=bSelect data-i18n=buttonAllNone></button>
<button id=bExport data-i18n=buttonExportData></button>
</fieldset>
</div>
<div id=tabAbout class=hide>
<h1 data-i18n=labelAbout></h1>
<p data-i18n=extDescription></p>
<p><label data-i18n=labelSupportPage></label><span data-i18n=anchorSupportPage></span></p>
<p><label data-i18n=labelAuthor></label><span data-i18n=anchorAuthor></span></p>
<p><label data-i18n=labelTranslator></label><span data-i18n=anchorTranslator></span></p>
</div>
</div>
</div>
<table id=wndEditor class=hide>
<tr>
<td class=side>
<table>
<tr><td><h2 data-i18n=labelStyleEditor></h2></td></tr>
<tr><td data-i18n=labelName></td></tr>
<tr><td><textarea id=mName></textarea></td></tr>
<tr><td data-i18n=labelSections></td></tr>
<tr class="expand expandr"><td id=mSection class="list expanda"></td></tr>
<tr><td><button id=mNew data-i18n=buttonNewSection></button> <button id=mDel data-i18n=buttonDeleteSection></button> <button id=mRen data-i18n=buttonRenameSection></button></td></tr>
</table>
</td>
<td>
<table>
<tr><td data-i18n=labelRules></td></tr>
<tr>
<td>
<table class=rules>
<tr>
<td title="domain"><span data-i18n=labelDomains></span><textarea id=mDomain></textarea></td>
<td title="regexp"><span data-i18n=labelRegExps></span><textarea id=mRegexp></textarea></td>
<td title="url-prefix"><span data-i18n=labelUrlPrefixes></span><textarea id=mUrlPrefix></textarea></td>
<td title="url"><span data-i18n=labelURLs></span><textarea id=mUrl></textarea></td>
</tr>
</table>
</td>
</tr>
<tr><td data-i18n=labelCode></td></tr>
<tr class=expand><td id=mCode class=expandr></td></tr>
<tr>
<td class=right>
<button id=mSave data-i18n=buttonSave></button>
<button id=mSaveClose data-i18n=buttonSaveClose></button>
<button id=mClose data-i18n=buttonClose></button>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<script src=editor.js></script>
<script src=options.js></script>