-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
options.html
176 lines (176 loc) · 7.75 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" href="options.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSA - OPTIONS</title>
</head>
<body>
<div class="main">
<main>
<div class="item-container">
<label for="lastcourse">__MSG_LASTCOURSE__:</label>
<div><input type="text" id="lastcourse" minlength="0" maxlength="63" value="" /></div>
<label for="lastmodule">__MSG_LASTMODULE__:</label>
<div><input type="number" id="lastmodule" min="0" max="99" size="5" value="" /></div>
<label for="lasttopic">__MSG_LASTTITLE__:</label>
<div><input type="text" id="lasttopic" minlength="0" maxlength="63" value="" /></div>
<label for="lastfileid">__MSG_LASTFILEID__:</label>
<div><input type="number" id="lastfileid" min="0" max="99" value="0" /></div>
<div class="divider"><hr /></div>
<label for="course">__MSG_COURSE__:</label>
<div><input type="text" id="course" minlength="0" maxlength="63" value="" /></div>
<label for="useautocourse" title="__MSG_USEAUTOCOURSE_DESCR__">__MSG_USEAUTOCOURSE__:</label>
<div><input type="checkbox" id="useautocourse" /></div>
<label class="shortcourse hidden" for="useshortcourse" title="__MSG_USESHORTCOURSE_DESCR__"
>- __MSG_USESHORTCOURSE__:</label
>
<div class="shortcourse hidden"><input type="checkbox" id="useshortcourse" /></div>
<label for="module">__MSG_MODULE__:</label>
<div>
<input type="text" id="module" placeholder="" minlength="0" maxlength="63" value="M" />
</div>
<label for="usesaveid">__MSG_USEFILEID__:</label>
<div><input type="checkbox" id="usesaveid" checked /></div>
<label for="modulesep">__MSG_MODULESEPCHAR__:</label>
<div><input type="text" id="modulesep" placeholder="_" minlength="0" maxlength="1" size="1" value="_" /></div>
<label for="spacesep">__MSG_SPACESEPCHAR__:</label>
<div><input type="text" id="spacesep" placeholder="_" minlength="0" maxlength="1" size="1" value="_" /></div>
<label for="videoduration" title="__MSG_VIDEODUR_DESCR__">__MSG_VIDEODUR__:</label>
<div><input type="checkbox" id="videoduration" /></div>
<div class="divider"><hr /></div>
<label for="savevideo">__MSG_SAVEVIDEO__:</label>
<div><input type="checkbox" id="savevideo" checked /></div>
<label for="videores">__MSG_VIDEORES__:</label>
<div><input type="checkbox" id="videores" checked /></div>
<label for="savevideotxt">__MSG_SAVEVIDEOTXT__:</label>
<div><input type="checkbox" id="savevideotxt" checked /></div>
<label for="savevideotxtadd">__MSG_SAVEVIDEOTXT_ADD__:</label>
<div><input type="checkbox" id="savevideotxtadd" /></div>
<label for="savesubtitle">__MSG_SAVESUBTITLE__:</label>
<div><input type="checkbox" id="savesubtitle" checked /></div>
<label for="savesubtitleadd">__MSG_SAVESUBTITLE_ADD__:</label>
<div><input type="checkbox" id="savesubtitleadd" /></div>
<label title="ISO 631-1. __MSG_MULTLANG__" for="subtitle_lang">
__MSG_LANG_ADD__: (<a href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes" target="_blank">?</a>)
</label>
<div>
<input
title="ISO 631-1. __MSG_MULTLANG__"
type="text"
id="subtitle_lang"
placeholder="en"
minlength="2"
maxlength="99"
value="en"
/>
</div>
<label for="savemode" title="__MSG_SAVEMODE_DESCR__">__MSG_SAVEMODE__:</label>
<div title="__MSG_SAVEMODE_DESCR__"><input type="checkbox" id="savemode" /></div>
<div class="divider"><hr /></div>
<label for="scrolltotitle" title="__MSG_SCROLLTOTILE_DESCR__">__MSG_SCROLLTOTILE__:</label>
<div><input type="checkbox" id="scrolltotitle" /></div>
<label for="automatic" title="__MSG_AUTOMATIC_DESCR__">__MSG_AUTOMATIC__:</label>
<div><input type="checkbox" id="automatic" disabled /></div>
<label class="amode hidden" for="a_save" title="__MSG_AUTOMATIC_MODE_SAVE_DESCR__"
>- __MSG_AUTOMATIC_MODE_SAVE__:</label
>
<div class="amode hidden">
<input
type="radio"
id="a_save"
title="__MSG_AUTOMATIC_MODE_SAVE_DESCR__ (disabled - still under development)"
name="automatic_mode"
value="a_save"
disabled
/>
</div>
<label class="amode hidden" for="a_mark" title="__MSG_AUTOMATIC_MODE_MARK_DESCR__"
>- __MSG_AUTOMATIC_MODE_MARK__:</label
>
<div class="amode hidden">
<input
type="radio"
id="a_mark"
title="__MSG_AUTOMATIC_MODE_MARK_DESCR__"
name="automatic_mode"
value="a_mark"
/>
</div>
<label class="amode cst" for="a_cst" title="__MSG_AUTOMATIC_MODE_CST_DESCR__"
>- __MSG_AUTOMATIC_MODE_CST__:</label
>
<div class="amode hidden">
<input
type="radio"
id="a_cst"
title="__MSG_AUTOMATIC_MODE_CST_DESCR__"
name="automatic_mode"
value="a_cst"
checked="checked"
/>
</div>
<label class="amode" for="cst_lang" title="__MSG_CST_LANG_DESCR__"
> • __MSG_CST_LANG__: (<a
href="https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes"
target="_blank"
>?</a
>)</label
>
<div class="amode hidden">
<input
title="ISO 631-1. (Google translate)"
type="text"
id="cst_lang"
placeholder="uk"
minlength="2"
maxlength="6"
value="uk"
/>
</div>
<label class="amode" for="cst_fontsize" title="__MSG_CST_FONTSIZE_DESCR__"
> • __MSG_CST_FONTSIZE__:</label
>
<div class="amode hidden">
<input
title="__MSG_CST_FONTSIZE_DESCR__"
type="number"
id="cst_fontsize"
placeholder="75"
min="10"
max="300"
size="5"
value="75"
/>
</div>
<div class="divider"><hr /></div>
</div>
</main>
<footer>
<div class="flex-container">
<div class="wiki">
__MSG_AUTHOR__:
<a title="https://lexxai.blogspot.com" href="https://lexxai.blogspot.com" target="_blank">lexxai</a>
</div>
<div class="wiki">
<a id="awiki" href="https://github.com/lexxai/CourseraSaveAssist/wiki" target="_blank">Wiki</a>
</div>
<div class="flex-right ver" id="version"></div>
</div>
<div class="statc">
<div class="stat" id="status"></div>
</div>
</footer>
<nav>
<div class="hc">
<button id="clear" title="__MSG_CLEAR_DESCR__">__MSG_CLEAR__</button> |
<button id="reset">__MSG_RESET__</button> |
<button id="save">__MSG_SAVE__</button>
</div>
</nav>
</div>
</body>
<script src="options.js"></script>
</html>