-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
229 lines (158 loc) · 7.69 KB
/
index.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
<!DOCTYPE html>
<head>
<title>
Learn 2 Spell
</title>
<link rel='stylesheet' type='text/css' href='spell.css' />
<link rel='stylesheet' type='text/css' href="bootstrap.min.css" />
<script src='jquery-1.8.3.min.js'></script>
<script src='bootstrap.min.js'></script>
<script src='bootbox.min.js'></script>
<script src='jquery.animate-colors-min.js'>
</script>
<script type='text/javascript' src='spell.js'>
</script>
</head>
<body>
<div class="navbar navbar-inverse navbar-static-top">
<div class="navbar-inner">
<div class="container" style="width: 1170px;">
<a class="brand" href="/index.html">Learn2Spell</a>
<div id="button1div" class="btn-group">
<button id="list1" class="btn btn-primary" type="button" disabled="true">List 1</button>
<a id="list1d" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" disabled="true">
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li edit-id="1"><a href="#"><i class="icon-pencil" ></i> Rename</a>
</li>
<!-- <li edit-id="1d" ><a href="#"><i class="icon-trash"></i> Delete</a></li> -->
</ul>
</div>
<div id="button2div" class="btn-group">
<button id="list2" class="btn btn-primary" type="button">List 2</button>
<a id="list2d" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#">
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li edit-id="2"><a href="#"><i class="icon-pencil" ></i> Rename</a>
</li>
<!-- <li edit-id="2d" ><a href="#"><i class="icon-trash"></i> Delete</a></li> -->
</ul>
</div>
<div class="pull-right">
<a href="https://chrome.google.com/webstore/detail/learn-2-spell/bajhagkohgdkapnbflodncdgmpfhkolc/reviews" style="position:absolute; right:30px; top:10px;">Feedback</a>
<button id="mode2" class="btn btn-inverse" ><i class="icon-white icon-plus"></i>
</button>
<button id="optionsButton" class="btn btn-inverse" ><i class="icon-white icon-wrench"></i>
</button>
<!-- <a id="createList" href="#" class="btn btn-inverse">Create List <i class="icon-white icon-plus-sign"></i></a> -->
</div>
</div>
</div>
</div>
<div class="container">
<div class="row" style="margin-top: 40px;">
<div class="span12 ">
<div style="float: right;">
<h6>After word is typed, press Enter to go to next word or Spacebar to repeat word.</h6>
</div>
<br />
<div id="defTextArea"></div>
</div>
</div>
<h2></h2>
</br>
<div id="defBoxBox" class="alert alert-info">
<div class="defBox">
<h5></h5>
</div>
</div>
<div class="navbar navbar-inverse">
<div class="navbar-inner">
<input id="word" type="text" class="navbar-search pull-left search-query" placeholder="Add word - Press Enter">
<div class="container" style="width: 800px;">
<button id="hideButton" class="btn btn-inverse " type="button" style="position:relative; right:-300px; top:0px;">
<i class="icon-white icon-chevron-down"></i>
</button>
<div class="pull-right">
<h4 class="scoreBoxBox" style="position:relative; right:30px; top:0px; color:white;">
<p>
<span class="scoreBox"></span>times in a row!</p>
</h4>
<!-- <a id="createList" href="#" class="btn btn-inverse">Create List <i class="icon-white icon-plus-sign"></i></a> -->
</div>
</div>
</div>
</div>
<div class="wordlist-container">
<div class="input-append">
</button>
</div>
<div>
<!--<div id="loading"></div>
<h1 id='pagetitle'></h1>-->
</div>
<!--<div id="licenseinfo" style="font-size:small; display:none;">
Modified original content .
</div>-->
<table class="table wordlist-table">
<thead>
<tr>
<th>Word</th>
<th>Definition</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<span style="display: none;" id="inputHiddenSpan" class="add-on">
</span>
<div id="wikiInfo"></div>
<p class="forvo"><a href="http://www.forvo.com/">Pronunciations by Forvo</a> - <a href='http://www.wiktionary.org/'>Definitions from Wiktionary</a>
</p>
<!-- Button to trigger
<a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a> modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
<h3 id="myModalLabel">Congratulations!</h3>
</div>
<div class="modal-body">
<p>Congratulations! You have correctly spelled the word '
<span id="pWord"></span>' four times in a row.</p>
<p>You may now choose to keep this word in your active list, hide it of a week, hide it for a month, or delete the word permanently</p>
<p>Hint: You can use the number keys to make your selection.</p>
<p>Hint 2: You can see hidden words by selecting the option in Spanner menu.</p>
</div>
<div class="modal-footer">
<button id="button1" class="btn btn-primary">1. Keep Word</button>
<button id="button2" class="btn btn-primary">2. One Week</button>
<button id="button3" class="btn btn-primary">3. One Month</button>
<button id="button4" class="btn btn-primary">4. Delete Word</button>
</div>
</div>
<div id="optionsModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
<h3 id="myModalLabel">Options</h3>
</div>
<div class="modal-body">
<input id="check1" type="checkbox">Show spelling word while typing
</br>
<input id="check2" type="checkbox">Show definition
</br>
<input id="check3" type="checkbox">Play audio on next word
</br>
<input id="check4" type="checkbox">Show hidden words
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
</body>
</html>