-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYabla.html
228 lines (224 loc) · 9.12 KB
/
Yabla.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
<div id="main" class="">
<div class="mobile_top">
<div class="actions">
<table>
<tbody>
<td class="settings show_settings"><i class="fa fa-gear"></i></td>
<td class="mid">
<div class="center_info">
<div class="row">
<div class="progress_label">Progress</div>
<div class="word_complete_label">X of Y words learned</div>
</div>
<div class="overall_progress">
<div class="bar"></div>
</div>
</div>
</td>
<td class="exit_btn"><i class="fa fa-close"></i></td>
</tbody>
</table>
</div>
<div class="progress timer">
<div class="bar"></div>
</div>
</div>
<div id="main_exit" class="exit_btn">
<i class="fa fa-close"></i>
<span>Exit</span>
</div>
<div id="left_col">
<div id="controls">
<a href="#" class="show_settings btn yabla-blue">
<i class="fa fa-gear"></i> Settings </a>
</div>
<div id="progress">
<h3>Overall Progress</h3>
<div id="progress_container">
</div>
</div>
<div id="timer">
<h3>Time Remaining</h3>
<div>
<div class="timer timer_26_275">
<div class="fill_seg red"></div>
<div class="fill_seg red"></div>
<div class="fill_seg yellow"></div>
<div class="fill_seg yellow"></div>
<div class="fill_seg yellow"></div>
<div class="fill_seg yellow"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
<div class="fill_seg"></div>
</div>
<i class="fa fa-close timer_remove"></i>
</div>
<div class="pause_cont">
<a href="#" class="pause btn yabla-blue">
<i class="fa fa-pause"></i> Pause </a>
</div>
</div>
<div id="queue_state">
<h3>Vocabulary Queue</h3>
<div id="queue_container">
</div>
</div>
</div>
<div id="right_col">
<div id="spell_question" class="spell_question" style="display:none">
<h2>Word will be placed here</h2>
<div class="correction">
<span class="label">the correct answer is</span> <span class="correct">ZZZZ</span>
<i class="fa fa-volume-up"></i>
</div>
<div class="response_section">
<div id="ipad_tones">
<button class="tone1">ˉ</button> <button class="tone2">ˊ</button> <button class="tone3">ˇ</button>
<button class="tone4">ˋ</button> <button class="tone5"> </button>
</div>
<div>
<input type="text" class="response" lang="zh_CN" autocapitalize="off" autocorrect="off"
autocomplete="randomworksbetter" spellcheck="false" />
</div>
<div class="bottom_spell_row">
<div class="minikeyboard_container"> </div>
<div class="dont_know">I don't Know</div>
</div>
<div class="continue_row">
<button class="spell_continue btn yabla-blue">Continue</button>
</div>
</div>
</div>
<div id="image_question" class="spell_question" style="display:none">
<h2>Word will be placed here</h2>
<div class="correction">
<span class="label">the correct answer is</span> <span class="correct">ZZZZ</span>
<i class="fa fa-volume-up"></i>
</div>
<div class="response_section">
<div id="ipad_tones">
<!--This might be problematic having dupe id here and dupe buttons?-->
<button class="tone1">ˉ</button> <button class="tone2">ˊ</button> <button class="tone3">ˇ</button>
<button class="tone4">ˋ</button> <button class="tone5"> </button>
</div>
<div>
<input type="text" class="response" lang="zh_CN" autocapitalize="off" autocorrect="off"
autocomplete="randomworksbetter" spellcheck="false" />
</div>
<div class="bottom_spell_row">
<div class="minikeyboard_container"> </div>
<div class="dont_know">I don't Know</div>
</div>
<div class="continue_row">
<button class="spell_continue btn yabla-blue">Continue</button>
</div>
</div>
<div class="image_row"></div>
</div>
<div class="choice_question">
<h2>
<span class="choice_text"></span>
</h2>
<div class="response_group clearfix">
<ul>
</ul>
</div>
</div>
<div class="speech_question">
<h2>
<span class="speech_prompt">Say this word</span>
<i class="fa fa-volume-up"></i>
</h2>
<div class="speech_meaning">Word Means This</div>
<div class="speech_response">
<div class="rec rec_alt_1">blah</div>
<div class="rec rec_alt_2">bleg</div>
<div class="rec rec_alt_3">blue</div>
<div class="rec_result correct">blank</div>
</div>
<div class="speech_buttons">
<button class="btn yabla-blue continue">Continue</button>
<button class="btn skip">Skip</button>
</div>
<div class="speech_controls">
<div class="start_microphone">
<i class="fa fa-microphone"></i>
</div>
</div>
</div>
</div>
</div>
<div id="overlay_mask"> </div>
<div id="pause_overlay" class="overlay">
Paused</div>
<div id="settings_overlay" class="overlay">
<h2>Settings</h2>
<div class="setting_row">
<span class="setting_name">Term Queue Size</span>
<select name="queue_size">
<option value="3">3 (shabi)</option>
<option value="10">10</option>
<option value="50">50 (bucuo)</option>
<option value="100">100 (niubi)</option>
<option value="500">500 (wocao)</option>
<option value="666">666 (liuliuliu)</option>
</select> words
</div>
<div class="setting_row">
<span class="setting_name">Typing Tones</span>
<label>
<input type="radio" name="ignore_accents" id="ignore_accents1" value="1">
Ignore tones
</label>
<label>
<input type="radio" name="ignore_accents" id="ignore_accents0" value="">
Require correct tones
</label>
</div>
<div class="setting_row">
<span class="setting_name">Timer</span>
<label>
<input type="radio" name="show_timer" id="show_timer1" value="1"> Show Timer </label>
<label>
<input type="radio" name="show_timer" id="show_timer0" value=""> Disable Timer </label>
</div>
<div class="setting_row">
<span class="setting_name">Sound Effects</span>
<label>
<input type="radio" name="play_sfx" id="play_sfx1" value="1"> On </label>
<label>
<input type="radio" name="play_sfx" id="play_sfx0" value=""> Off </label>
</div>
<div class="setting_row set_char_type">
<span class="setting_name">Simplified vs Traditional</span>
<label>
<input type="radio" name="show_traditional" id="show_traditional0" value="" />
Show only Simplified </label>
<label>
<input type="radio" name="show_traditional" id="show_traditional1" value="1">
Show Simplified and Traditional </label>
</div>
<div class="setting_row">
<a href="#" class="btn fill green save">Save</a> <a href="#" class="cancel">Cancel</a>
</div>
</div>
<div id="win_overlay" class="overlay">
<h1>Congratulations!</h1>
<h2>You have reviewed the vocabulary</h2>
<a href="vocabulary.php">Return to Word List</a>
</div>
<div id="preview_overlay" class="overlay">
<h1>Vocabulary Review</h1>
<p>In this exercise you will review the following words:</p>
<ul class="terms">
</ul>
<a href="#" class="start_game">Start Review</a>
<div id="type_selector_placeholder"></div>
</div>