-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
233 lines (183 loc) · 13.3 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
230
231
232
233
<!DOCTYPE html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/style_new.css" />
<title>Edémédé</title>
</head>
<body>
<div class="wrapper">
<h1>Edémédé: The Online Keyboard</h1>
<button title="Copy all" class="copyText" id="cText"><img src="images/copy1.png"></button>
<button title="Save" class="saveText" id="saveFile"><img src="images/save.png"></button>
<button title="Settings" class="settings" id="settings"><img src="images/settings.png"></button>
<div role="alert" aria-live="assertive" aria-atomic="true" class="toast" data-autohide="false" id="infoMsg" style="position: relative;">
<div class="toast-header">
<strong class="mr-auto">Integration with PC Keyboard</strong>
<small>©<a href="https://github.com/chrisemezue/edemede.github.io">Edémédé</a></small>
<button type="button" class="ml-2 mb-1 close closeBtn" data-dismiss="toast" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">
<p>
Shift + a to toggle among |ạ|à|á|ā|ạ̀|ạ́| <br/>
Shift + e to toggle among |ẹ|è|é|ē|ẹ̀|ẹ́|<br/>
Shift + i to toggle among |ị|ì|í|<br/>
Shift + o to toggle among |ọ|ò|ó|ō|ọ̀|ọ́|<br/>
Shift + u to toggle among |ụ|ù|ú|ū|ụ̀|ụ́|<br/>
Shift + n to toggle between |n̄|<br/>
<hr>
Use 'Collapse Keyboard' to create space when using PC Keyboard
<p>
</div>
</div>
<textarea name="the-textarea" id="write" placeholder="Pinye ma obu dezie edémédé gi ebe a... Type or edit your work here..."autofocus></textarea>
<!--Option to collapse keyboard if using PC keyboard-->
<button type="button" class="btn" id="collapse">Collapse Keyboard</button>
<div id="the-count">
<span>ọnụ ọgụgụ:</span>
<span id="current">0</span>
</div>
</div>
<!--Body content-->
<div class="wrapperKey" id="keyboardWrapper">
<div class="row" id="suggestions">
<!--<div id="suggestions">
</div>-->
</div>
<div class = "row" id ="keyboard">
<!--<div class ="container1">-->
<!--<div class="item1">-->
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">`</span><span class="on">~</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">1</span><span class="on">!</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">2</span><span class="on">@</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">3</span><span class="on">#</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">4</span><span class="on">$</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">5</span><span class="on">%</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">6</span><span class="on">^</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">7</span><span class="on">&</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">8</span><span class="on">*</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">9</span><span class="on">(</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">0</span><span class="on">)</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">-</span><span class="on">_</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">=</span><span class="on">+</span></button>
<button type="button" class="delete lastitem btn btn-outline-secondary" id="del-btn">delete</button>
</div>
<!--</div>-->
<!--<div class="item1">-->
<div class="row" id="keyboard">
<button type="button" class="tab btn btn-outline-secondary" id="tab-btn">tab</button>
<button type="button" class="letter btn btn-outline-secondary">q</button>
<button type="button" class="letter btn btn-outline-secondary">w</button>
<button type="button" class="letter btn btn-outline-secondary">e</button>
<button type="button" class="letter btn btn-outline-secondary">r</button>
<button type="button" class="letter btn btn-outline-secondary">t</button>
<button type="button" class="letter btn btn-outline-secondary">y</button>
<button type="button" class="letter btn btn-outline-secondary">u</button>
<button type="button" class="letter btn btn-outline-secondary">i</button>
<button type="button" class="letter btn btn-outline-secondary">o</button>
<button type="button" class="letter btn btn-outline-secondary">p</button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">[</span><span class="on">{</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">]</span><span class="on">}</span></button>
<button type="button" class="symbol lastitem btn btn-outline-secondary"><span class="off">\</span><span class="on">|</span></button>
<!--<li class="capslock">caps lock</li>-->
<!--</div>-->
<!--<div class="item1">-->
</div>
<div class="row" id="keyboard">
<button type="button" class="igletter btn btn-outline-secondary" id="a-dot">ạ</button>
<button type="button" class="igletter btn btn-outline-secondary" id="a-acute">à</button>
<button type="button" class="igletter btn btn-outline-secondary" id="a-grave">á</button>
<button type="button" class="igletter btn btn-outline-secondary" id="e-dot">ẹ</button>
<button type="button" class="igletter btn btn-outline-secondary" id="e-acute">è</button>
<button type="button" class="igletter btn btn-outline-secondary" id="e-grave">é</button>
<button type="button" class="igletter btn btn-outline-secondary" id="u-dot">ụ</button>
<button type="button" class="igletter btn btn-outline-secondary" id="u-acute">ù</button>
<button type="button" class="igletter btn btn-outline-secondary" id="u-grave">ú</button>
<button type="button" class="igletter btn btn-outline-secondary" id="i-dot">ị</button>
<button type="button" class="igletter btn btn-outline-secondary" id="i-acute">ì</button>
<button type="button" class="igletter btn btn-outline-secondary" id="i-grave">í</button>
<button type="button" class="igletter btn btn-outline-secondary" id="i-macron">ī</button>
<button type="button" class="igletter btn btn-outline-secondary" id="o-dot">ọ</button>
<button type="button" class="igletter btn btn-outline-secondary" id="o-acute">ò</button>
<button type="button" class="igletter btn btn-outline-secondary" id="o-grave">ó</button>
<!--</div>-->
<!--<div class="item1">-->
</div>
<!--Added more diacritics on 14.02.2021 -->
<div class="row" id="keyboard">
<button type="button" class="igletter btn btn-outline-secondary" id="a-macron">ā</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="a-acute-dot">ạ̀</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="a-grave-dot">ạ́</button>
<button type="button" class="igletter btn btn-outline-secondary" id="e-macron">ē</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="e-acute-dot">ẹ̀</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="e-grave-dot">ẹ́</button>
<button type="button" class="igletter btn btn-outline-secondary" id="u-macron">ū</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="u-acute-dot">ụ̀</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="u-grave-dot">ụ́</button>
<button type="button" class="igletter btn btn-outline-secondary" id="i-macron">ī</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="i-macron-dot">ị̄</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="i-acute-dot">ị́</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="i-grave-dot">ị̀</button>
<button type="button" class="igletter btn btn-outline-secondary" id="o-macron">ō</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="o-acute-dot">ọ̀</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="o-grave-dot">ọ́</button>
<!--to add O when in mobile mode-->
<span id="add-o"></span>
<!--</div>-->
<!--<div class="item1">-->
</div>
<div class="row" id="keyboard">
<button type="button" class="capslock btn btn-outline-secondary" id="caps-btn">caps</button>
<button type="button" class="letter btn btn-outline-secondary">a</button>
<button type="button" class="letter btn btn-outline-secondary">s</button>
<button type="button" class="letter btn btn-outline-secondary">d</button>
<button type="button" class="letter btn btn-outline-secondary">f</button>
<button type="button" class="letter btn btn-outline-secondary">g</button>
<button type="button" class="letter btn btn-outline-secondary">h</button>
<button type="button" class="letter btn btn-outline-secondary">j</button>
<button type="button" class="letter btn btn-outline-secondary">k</button>
<button type="button" class="letter btn btn-outline-secondary">l</button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">;</span><span class="on">:</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">'</span><span class="on">"</span></button>
<button type="button" class="return lastitem btn btn-outline-secondary" id="return-btn">return</button>
</div>
<div class="row" id="keyboard">
<button type="button" class="left-shift btn btn-outline-secondary" id="shift-btn">shift</button>
<button type="button" class="letter btn btn-outline-secondary">z</button>
<button type="button" class="letter btn btn-outline-secondary">x</button>
<button type="button" class="letter btn btn-outline-secondary">c</button>
<button type="button" class="letter btn btn-outline-secondary">v</button>
<button type="button" class="letter btn btn-outline-secondary">b</button>
<button type="button" class="letter btn btn-outline-secondary" id="normalN">n</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="n-macron">n̄</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="n-acute">ǹ</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="n-grave">ń</button>
<button type="button" class="letter btn btn-outline-secondary">m</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="m-acute">m̀</button>
<button type="button" class="igletter igdb btn btn-outline-secondary" id="m-grave">ḿ</button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">,</span><span class="on"><</span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">.</span><span class="on">></span></button>
<button type="button" class="symbol btn btn-outline-secondary"><span class="off">/</span><span class="on">?</span></button>
<button type="button" class="right-shift lastitem btn btn-outline-secondary" id="rshift-btn">shift</button>
<!--</div>-->
<!--<div>-->
</div>
<div class="row" id="keyboard">
<button type="button" class="space lastitem btn btn-outline-secondary"> </button>
</div>
<!--</div>-->
</div>
<!--</div>
</div>-->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script type="text/javascript" src="js/keyboard1.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html>