-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
233 lines (207 loc) · 8.87 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>
<html lang="en-GB">
<head>
<!-- 10/10 hours of pun -->
<title>Chomskey - Online Keyboard Layouts</title>
<!-- Basic Meta Info -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="description" content="Dynamically build and type with online keyboard layouts.">
<meta name="abstract" content="Online Keyboard Layout Editor">
<meta name="keywords" content="Keyboard Layout, linguistics, IPA, Noam Chomsky, badlinguistics">
<meta name="author" content="Kit Maywood">
<link rel="author" href="https://twitter.com/kittsville">
<link rel="canonical" href="http://kittsville.github.io/Chomskey/">
<meta property="og:title" content="Chomskey - Online Keyboard Layouts">
<meta property="og:type" content="website">
<meta property="og:url" content="http://kittsville.github.io/Chomskey/">
<meta property="og:image" content="http://kittsville.github.io/Chomskey/assets/og_image.png">
<link rel="image_src" href="http://kittsville.github.io/Chomskey/assets/og_image.png">
<base href="assets/">
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
<div id="container">
<header>
<img id="logo" src="logo.png" alt="Chomskey" title="CHOMSKEY SPEAKS TO YOU, HIS CHOSEN ONES">
<h3>Dynamic Keyboard Layout Editor</h3>
<span id="version">V0.1</span>
</header>
<a href="//github.com/kittsville/Chomskey">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="//camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="//s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png">
</a>
<!-- Key Editing Window -->
<!-- Managed by JS object 'EditKey' -->
<div id="edit-key-overlay" class="darken-overlay">
<div id="edit-key-window" class="pop">
<div id="close-edit-key" class="pop-close"></div>
<div>
<h2>Editing Key: </h2><h2 id="key-number"></h2>
</div>
<div>
<h4>ID: </h4><h4 id="key-id"></h4>
</div>
<form id="edit-key">
<label for="key-label"><span>Label:</span></label>
<input id="key-label" type="text" autocomplete="off">
<label for="key-value"><span>Value:</span></label>
<input id="key-value" type="text" autocomplete="off">
<label for="key-shift-label"><span>Shift Label:</span></label>
<input id="key-shift-label" type="text" autocomplete="off">
<label for="key-shift-value"><span>Shift Value:</span></label>
<input id="key-shift-value" type="text" autocomplete="off">
<label for="key-alt-label"><span>Alt Gr Label:</span></label>
<input id="key-alt-label" type="text" autocomplete="off">
<label for="key-alt-value"><span>Alt Gr Value:</span></label>
<input id="key-alt-value" type="text" autocomplete="off">
<div id="edit-control">
<a id="update-key" class="button">Update</a>
<a id="cancel-edit" class="button">Cancel</a>
</div>
</form>
</div>
</div>
<!-- Text goes here -->
<div id="typing-area">
<textarea placeholder="Text goes here" autocomplete="off"></textarea>
</div>
<!-- Keyboard Layout Management -->
<!-- Managed by JS object 'Layout' -->
<div id="layout-manager">
<select id="layout-selector">
<!-- Placeholder until JS initialises -->
<option value="default">Default</option>
</select>
<div id="layout-buttons">
<a id="download-layout" class="button">Download</a>
<a id="upload-layout" class="button">Upload</a>
<input id="real-upload" type="file" accept=".zardoz" style="visibility:hidden;" multiple>
</div>
</div>
<!-- Virtual Keyboard -->
<!-- Managed by JS object 'Keyboard' -->
<div id="keyboard">
<div id="top-row">
<a id="key-escape" key="27" class="button">Esc</a>
<div id="function-keys" class="keyboard-row">
<div class="key-group">
<a id="key-f1" key="112" class="button">F1</a>
<a id="key-f2" key="113" class="button">F2</a>
<a id="key-f3" key="114" class="button">F3</a>
<a id="key-f4" key="115" class="button">F4</a>
</div>
<div class="key-group">
<a id="key-f5" key="116" class="button">F5</a>
<a id="key-f6" key="117" class="button">F6</a>
<a id="key-f7" key="118" class="button">F7</a>
<a id="key-f8" key="119" class="button">F8</a>
</div>
<div class="key-group">
<a id="key-f9" key="120" class="button">F9</a>
<a id="key-f10" key="121" class="button">F10</a>
<a id="key-f11" key="122" class="button">F11</a>
<a id="key-f12" key="123" class="button">F12</a>
</div>
</div>
<div id="system-keys">
</div>
</div>
<div id="main-block">
<div class="keyboard-row">
<a id="key-backquote" key="192" class="button">`</a>
<a id="key-1" key="49" class="button">1</a>
<a id="key-2" key="50" class="button">2</a>
<a id="key-3" key="51" class="button">3</a>
<a id="key-4" key="52" class="button">4</a>
<a id="key-5" key="53" class="button">5</a>
<a id="key-6" key="54" class="button">6</a>
<a id="key-7" key="55" class="button">7</a>
<a id="key-8" key="56" class="button">8</a>
<a id="key-9" key="57" class="button">9</a>
<a id="key-0" key="48" class="button">0</a>
<a id="key-minus" key="173" class="button">-</a>
<a id="key-equals" key="61" class="button">=</a>
<a id="key-backspace" key="8" class="button">Backspace</a>
</div>
<div class="keyboard-row">
<a id="key-tab" key="9" class="button">Tab</a>
<a id="key-q" key="81" class="button">q</a>
<a id="key-w" key="87" class="button">w</a>
<a id="key-e" key="69" class="button">e</a>
<a id="key-r" key="82" class="button">r</a>
<a id="key-t" key="84" class="button">t</a>
<a id="key-y" key="89" class="button">y</a>
<a id="key-u" key="85" class="button">u</a>
<a id="key-i" key="73" class="button">i</a>
<a id="key-o" key="79" class="button">o</a>
<a id="key-p" key="80" class="button">p</a>
<a id="key-open-brackets" key="219" class="button">[</a>
<a id="key-close-brackets" key="221" class="button">]</a>
<a id="key-enter" key="13" class="button">Enter</a>
</div>
<div class="keyboard-row">
<a id="key-caps" key="20" class="button">Caps</a>
<a id="key-a" key="65" class="button">a</a>
<a id="key-s" key="83" class="button">s</a>
<a id="key-d" key="68" class="button">d</a>
<a id="key-f" key="70" class="button">f</a>
<a id="key-g" key="71" class="button">g</a>
<a id="key-h" key="72" class="button">h</a>
<a id="key-j" key="74" class="button">j</a>
<a id="key-k" key="75" class="button">k</a>
<a id="key-l" key="76" class="button">l</a>
<a id="key-colon" key="59" class="button">;</a>
<a id="key-apostrophe" key="222" class="button">'</a>
<a id="key-hash" key="163" class="button">#</a>
</div>
<div class="keyboard-row">
<a id="key-left-shift" key="16" class="button">Shift</a>
<a id="key-backslash" key="220" class="button">\</a>
<a id="key-z" key="90" class="button">z</a>
<a id="key-x" key="88" class="button">x</a>
<a id="key-c" key="67" class="button">c</a>
<a id="key-v" key="86" class="button">v</a>
<a id="key-b" key="66" class="button">b</a>
<a id="key-n" key="78" class="button">n</a>
<a id="key-m" key="77" class="button">m</a>
<a id="key-comma" key="188" class="button">,</a>
<a id="key-full-stop" key="190" class="button">.</a>
<a id="key-forward-slash" key="191" class="button">/</a>
<a id="key-right-shift" key="16" class="button">Shift</a>
</div>
<div class="keyboard-row">
<a id="key-left-control" key="17" class="button">Ctrl</a>
<a id="key-left-super" key="91" class="button">Start</a>
<a id="key-left-alt" key="18" class="button">Alt</a>
<a id="key-space" key="32" class="button">Space</a>
<a id="key-right-alt" key="18" class="button">Alt</a>
<a id="key-right-super" key="91" class="button">Start</a>
<a id="key-select" key="93" class="button">Select</a>
<a id="key-right-control" key="17" class="button">Ctrl</a>
</div>
</div>
<div id="screen-control-keys">
</div>
<div id="navigation-keys">
</div>
<div id="numpad">
<!-- Complete this -->
</div>
</div>
<div id="footer">
<span>
Report bugs on the <a href="https://github.com/kittsville/Chomskey/issues">GitHub issues page</a>.
For suggestions/ideas <a href="mailto:[email protected]">email me</a>.
</span>
<span>
You may also be interested in <a href="https://www.branah.com/">Branah</a> (online keyboards) or <a href="http://westonruter.github.io/ipa-chart/keyboard/">Weston Ruter's</a> IPA table.
</span>
</div>
</div>
<!-- Load JS last -->
<div>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="insertAtCaret.js"></script>
<script type="text/javascript" src="scripts.js"></script>
</div>
</body>
</html>