-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
options.html
241 lines (230 loc) · 10.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset=utf-8 />
<title>__MSG_configPageTitle__</title>
<meta name="viewport" content="initial-scale=1, width=device-width">
<link href="images/favicon.ico" rel="shortcut icon" type="image/ico" />
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/fontawesome.min.css" rel="stylesheet" />
<link href="css/options.css" rel="stylesheet" />
<link href="css/options.dark.css" rel="stylesheet" />
</head>
<body>
<nav class="navbar-inner">
<div class="container">
<span id="logo"><img src="images/logo64.png" alt="logo"> __MSG_configPageTitle__</span>
<span id="version"></span>
</div>
</nav>
<form>
<fieldset class="container">
<legend></legend>
<div class="form-group row">
<label class="col-sm-2 text-info"><i class="fa-solid fa-rectangle-list"></i>
__MSG_contextmenuStr__</label>
<div class="col-sm-10">
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="contextMenus">
<label class="custom-control-label" for="contextMenus">__MSG_contextmenuDes__</label>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="askBeforeExport">
<label class="custom-control-label" for="askBeforeExport">__MSG_askBeforeExportDes__</label>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="exportAll">
<label class="custom-control-label" for="exportAll">__MSG_exportAllDes__</label>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 text-info"><i class="fa-solid fa-download"></i>
__MSG_downloadCaptureStr__</label>
<div class="col-sm-10">
<div class="input-group custom-control-inline custom-switch">
<input class="custom-control-input" type="checkbox" id="integration">
<label class="custom-control-label" for="integration">
__MSG_downloadCaptureDes__
</label>
<div class="input-group-prepend">
<span class="-input-group-text- form-control-sm">≥</span>
</div>
<input type="number" min="0" class="form-control form-control-sm col-1" id="fileSize" required>
<div class="input-group-append">
<span class="input-group-text form-control-sm">MB</span>
</div>
<div id="shortcuts-setting" class="clickable tool-tip" tooltip-content="⌨: Alt + A">
<i class="fa fa-gear mx-2 text-primary"></i>
</div>
</div>
<div class="custom-control custom-switch">
<input class="custom-control-input" type="checkbox" id="askBeforeDownload">
<label class="custom-control-label" for="askBeforeDownload">
__MSG_askBeforeDownloadDes__
</label>
</div>
<div class="custom-control custom-switch">
<input class="custom-control-input" type="checkbox" id="allowExternalRequest">
<label class="custom-control-label" for="allowExternalRequest">
__MSG_allowExternalRequestDes__
</label>
</div>
<div class="custom-control custom-switch" tooltip-content="__MSG_captureMagnetTip__">
<input class="custom-control-input" type="checkbox" id="captureMagnet">
<label class="custom-control-label" for="captureMagnet">
__MSG_captureMagnetDes__ <em>(__MSG_captureMagnetWarn__)</em>
</label>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 text-info"><i class="fa-solid fa-heart-pulse"></i>
__MSG_monitorAria2Str__</label>
<div class="col-sm-10">
<div class="custom-control custom-switch">
<input class="custom-control-input" type="checkbox" id="monitorAria2">
<label class="custom-control-label" for="monitorAria2">
__MSG_monitorAria2Des__
</label>
</div>
<div id="monitor-all" class="custom-control custom-switch tool-tip tool-tip-icon"
tooltip-content="__MSG_monitorAllTip__">
<input class="custom-control-input" type="checkbox" id="monitorAll">
<label class="custom-control-label" for="monitorAll">
__MSG_monitorAllDes__
</label>
</div>
<div class="custom-control custom-switch">
<input class="custom-control-input" type="checkbox" id="keepAwake">
<label class="custom-control-label" for="keepAwake">
__MSG_keepAwakeDes__
</label>
</div>
<div class="custom-control custom-switch">
<input class="custom-control-input" type="checkbox" id="allowNotification">
<label class="custom-control-label" for="allowNotification">
__MSG_allowNotificationDes__
</label>
</div>
<div class="custom-control custom-switch">
<input class="custom-control-input" type="checkbox" id="keepSilent">
<label class="custom-control-label" for="keepSilent">
__MSG_keepSilentDes__
</label>
</div>
</div>
</div>
<div id="rpcList">
</div>
<div class="form-group row">
<label class="col-sm-2 text-info"><i class="fa-solid fa-window-restore"></i>
__MSG_WebUIOpenStyleStr__</label>
<div class="col-sm-10">
<div class="form-check">
<input class="form-check-input" type="radio" id="popup" name="webUIOpenStyle" value="popup">
<label for="popup">
__MSG_WebUIOpenStyle1__
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="tab" name="webUIOpenStyle" value="tab">
<label for="tab">
__MSG_WebUIOpenStyle2__
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="window" name="webUIOpenStyle" value="window">
<label for="window">
__MSG_WebUIOpenStyle3__
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="sidePanel" name="webUIOpenStyle" value="sidePanel">
<label for="sidePanel">
__MSG_WebUIOpenStyle4__ (Beta)
</label>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 text-info"><i class="fa-solid fa-file-lines"></i> __MSG_fileExtStr__</label>
<div class="col-sm-10 row">
<div class="col-sm-4">
<label for="allowedExts">__MSG_whiteListStr__</label>
<textarea class="form-control" rows="8" id="allowedExts" name="allowedExts"
placeholder="__MSG_allowedExtsPlaceholderDes__"></textarea>
</div>
<div class="col-sm-4">
<label for="blockedExts">__MSG_blackListStr__</label>
<textarea class="form-control" rows="8" id="blockedExts" name="blockedExts"
placeholder="__MSG_blockedExtsPlaceholderDes__"></textarea>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 text-info"><i class="fa-solid fa-globe"></i> __MSG_websiteStr__</label>
<div class="col-sm-10 row">
<div class="col-sm-5">
<label for="allowedSites">__MSG_whiteListStr__</label>
<textarea class="form-control" rows="7" id="allowedSites" name="allowedSites"
placeholder="__MSG_allowedSitesPlaceholderDes__"></textarea>
</div>
<div class="col-sm-5">
<label for="blockedSites">__MSG_blackListStr__</label>
<textarea class="form-control" rows="7" id="blockedSites" name="blockedSites"
placeholder="__MSG_blockedSitesPlaceholderDes__"></textarea>
</div>
</div>
</div>
<div class="form-group row">
<label class="col-sm-2 text-info"><i class="fa-solid fa-rotate"></i>
__MSG_configCloudSync__</label>
<div class="col-sm-auto">
<button type="button" class="btn btn-primary mx-1 tool-tip" id="upload" tooltip-content="⌨: Alt + U"><i
class="fa-solid fa-cloud-arrow-up"></i>
__MSG_upload__</button>
<button type="button" class="btn btn-primary mx-1 tool-tip" id="download" tooltip-content="⌨: Alt + J"><i
class="fa-solid fa-cloud-arrow-down"></i>
__MSG_download__</button>
<em>(__MSG_configCloudSyncDes__)</em>
<span class="alert" id="sync-result"></span>
</div>
</div>
</fieldset>
<footer class="footer">
<div class="footer-content">
<div id="colorMode" class="clickable" title="__MSG_ColorMode__"><i class="fa"></i></div>
<div class="container footer-content">
<span id="copyright">
<a target="_blank" href="https://www.aria2e.com">
<i class="fa-regular fa-copyright"></i>
Copyright 2023 Alex Hua
</a>
</span>
<span class="text-center">
<button type="submit" class="btn btn-success mr-5 tool-tip" id="save" tooltip-content="⌨: Alt + S"><i
class="fa-regular fa-circle-check"></i>
__MSG_Save__</button>
<button type="reset" class="btn btn-warning mx-5 tool-tip" id="reset" tooltip-content="⌨: Alt + R"><i
class="fa-regular fa-circle-xmark"></i>
__MSG_Reset__</button>
</span>
<span class="text-right" id="acknowledgment">
<a href="acknowledgment.txt">
<i class="fa-regular fa-lightbulb"></i> __MSG_Acknowledgment__</a>
</span>
</div>
<span id="rate" class="text-center">
<a id="webStoreUrl" class="btn btn-primary" href="" target="_blank">
<i class="fa-regular fa-thumbs-up"></i> __MSG_reviewDes__
</a>
</span>
</div>
</footer>
</form>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/options.js" type="module"></script>
</body>
</html>