forked from cschiller/zhongwen
-
Notifications
You must be signed in to change notification settings - Fork 4
/
options.html
188 lines (176 loc) · 8.82 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
<!DOCTYPE html>
<html>
<head>
<title>Dictionary Options</title>
<meta charset="utf-8"/>
<link rel="shortcut icon" href="images/logo-48x48.png"/>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
</head>
<body>
<div class="container">
<h1 class="my-3">Options for the Zhongwen Browser Extension</h1>
<h2 class="mb-3">Appearance of the Pop-up Window</h2>
<div class="form-group mb-4">
<label>
Background color of the pop-up window
</label>
<div class="custom-control custom-radio">
<input type="radio" id="popupColorYellow" name="popupColor" class="custom-control-input"
value="yellow">
<label class="custom-control-label" for="popupColorYellow">Yellow pop-up
background</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="popupColorBlue" name="popupColor" class="custom-control-input"
value="blue">
<label class="custom-control-label" for="popupColorBlue">Blue pop-up background</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="popupColorLightBlue" name="popupColor"
class="custom-control-input" value="lightblue">
<label class="custom-control-label" for="popupColorLightBlue">Light blue pop-up
background</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="popupColorBlack" name="popupColor" class="custom-control-input"
value="black">
<label class="custom-control-label" for="popupColorBlack">Black pop-up
background</label>
</div>
</div>
<div class="form-group mb-4">
<label>Font size of the characters in the pop-up window</label>
<div class="custom-control custom-radio">
<input type="radio" id="fontSizeSmall" name="fontSize" class="custom-control-input"
value="small">
<label class="custom-control-label" for="fontSizeSmall">Display characters in a smaller
font size.</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="fontSizeLarge" name="fontSize" class="custom-control-input"
value="large">
<label class="custom-control-label" for="fontSizeLarge">Display characters in a larger
font size.</label>
</div>
</div>
<div class="form-group mb-4">
<label>Simplified and traditional characters</label>
<div class="custom-control custom-radio">
<input type="radio" id="simpTradClassic" name="simpTrad" class="custom-control-input"
value="classic">
<label class="custom-control-label" for="simpTradClassic">Display both simplified and
traditional characters.</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="simpTradAuto" name="simpTrad" class="custom-control-input"
value="auto">
<label class="custom-control-label" for="simpTradAuto">Use the character style
automatically detected on the page (either simplified or traditional).</label>
</div>
</div>
<div class="form-group mb-4">
<label>Additional Chinese transliterations</label>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="zhuyin" name="zhuyin">
<label class="custom-control-label" for="zhuyin">Show <a
href="https://wikipedia.org/wiki/Bopomofo" target="_blank">Zhuyin (Bopomofo)</a>
phonetic symbols.</label>
</div>
</div>
<div class="form-group mb-4">
<label>Grammar and usage notes from the <a
href="https://resources.allsetlearning.com/chinese/grammar" target="_blank">Chinese
Grammar Wiki</a></label>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="grammar" name="grammar">
<label class="custom-control-label" for="grammar">Show grammar and usage notes.</label>
</div>
</div>
<div class="form-group mb-4">
<label>
Coloring pinyin syllables based on the tone of the character
</label>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="pinyinEnabled" name="pinyinEnabled">
<label class="custom-control-label" for="pinyinEnabled">Display pinyin</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="toneColorsStandard" name="toneColors"
class="custom-control-input" value="standard">
<label class="custom-control-label" for="toneColorsStandard">Use the default color
scheme.</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="toneColorsPleco" name="toneColors" class="custom-control-input"
value="pleco">
<label class="custom-control-label" for="toneColorsPleco">Use the <a
href="https://pleco.com" target="_blank">Pleco</a> color scheme.</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="toneColorsHanping" name="toneColors"
class="custom-control-input" value="hanping">
<label class="custom-control-label" for="toneColorsHanping">Use the <a
href="https://hanpingchinese.com/" target="_blank">Hanping</a> color
scheme.</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="toneColorsNone" name="toneColors" class="custom-control-input"
value="none">
<label class="custom-control-label" for="toneColorsNone">Don't show any tone
colors.</label>
</div>
</div>
<div class="form-group mb-4">
<label>Cantonese</label>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="jyutpingEnabled" name="jyutpingEnabled">
<label class="custom-control-label" for="jyutpingEnabled">Display Jyutping</label>
</div>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="cantoneseEntriesEnabled" name="cantoneseEntriesEnabled">
<label class="custom-control-label" for="cantoneseEntriesEnabled">Display Cantonese dictionary entries</label>
</div>
</div>
<h2 class="mb-3">Other Options</h2>
<div class="form-group mb-4">
<label>Saving entries to the <a
href="https://github.com/cschiller/zhongwen/#built-in-word-list"
target="_blank">Built-in Word List</a></label>
<div class="custom-control custom-radio">
<input type="radio" id="saveToWordListAllEntries" name="saveToWordList"
class="custom-control-input" value="allEntries">
<label class="custom-control-label" for="saveToWordListAllEntries">Save all
entries.</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="saveToWordListFirstEntryOnly" name="saveToWordList"
class="custom-control-input" value="firstEntryOnly">
<label class="custom-control-label" for="saveToWordListFirstEntryOnly">Save only the
first entry.</label>
</div>
</div>
<div class="form-group mb-4">
<label>URL used for adding words to your <a href="https://skritter.com" target="_blank">Skritter</a>
queue (Skritter subscription required)</label>
<div class="custom-control custom-radio">
<input type="radio" id="skritterTLDcom" name="skritterTLD" class="custom-control-input"
value="com">
<label class="custom-control-label" for="skritterTLDcom">skritter.com</label>
</div>
<div class="custom-control custom-radio">
<input type="radio" id="skritterTLDcn" name="skritterTLD" class="custom-control-input"
value="cn">
<label class="custom-control-label" for="skritterTLDcn">skritter.cn</label>
</div>
</div>
<div class="form-group mb-4">
<label>Enable text-to-speech</label>
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="ttsEnabled" name="ttsEnabled">
<label class="custom-control-label" for="ttsEnabled">Enable text-to-speech</label>
</div>
</div>
</div>
<script src="js/options.js" type="text/javascript"></script>
</body>
</html>