-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.php
executable file
·341 lines (306 loc) · 14.2 KB
/
index.php
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
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
<!doctype html>
<html ng-app="kla">
<head>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="./img/kb-q-10.png">
<title>Keyboard Layout Analyzer - QWERTY vs Dvorak vs Colemak</title>
<!--
source code: https://github.com/patorjk/keyboard-layout-analyzer
-->
<!-- vendor css -->
<link href="./common/vendor/bootstrap-flat/dist/css/bootstrap.css" rel="stylesheet">
<link href="./common/vendor/jqplot/jquery.jqplot.min.css" rel="stylesheet">
<!-- app css -->
<link rel="stylesheet" type="text/css" href="./css/main.css?2013.12" />
<link rel="stylesheet" type="text/css" href="./css/kb-config.css?2013" />
<link href="./common/pat/keyboard/css/keyboard.css" rel="stylesheet">
<!-- vendor responsive css -->
<!--<link href="./common/vendor/bootstrap/dist/css/bootstrap-responsive.css" rel="stylesheet">-->
<!--[if lte IE 8]>
<script>
window.location = "/keyboard-layout-analyzer/v2";
</script>
<![endif]-->
<!-- TODO: Google Analytic code here? -->
</head>
<body>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=174660119251129";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="navbar navbar-fixed-top" style='z-index:1001;'>
<div class="navbar-inner">
<div class="container">
<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<!-- Be sure to leave the brand out there if you want it shown -->
<div class="brand" style='position:relative'>
<div style='position:absolute; top:7px'>
<img src='img/kb-q-10.png'>
</div>
<div style='margin-left:40px'>
Keyboard Layout Analyzer
</div>
</div>
<!-- Everything you want hidden at 940px or less, place within here -->
<div class="nav-collapse collapse">
<!-- .nav, .navbar-search, .navbar-form, etc -->
<ul class="nav pull-right">
<li navbar-link>
<a href="#/main">Main</a>
</li>
<li navbar-link>
<a href="#/config">Configuration</a>
</li>
<li navbar-link>
<a href="#/about">About</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="view-container" class="container">
<div id='view'
class='page'
ng-view=""
ng-cloak
></div>
<div id='kla-loading' class='text-center ng-cloak'>
<p>
<img src='http://patorjk.com/images/qwerty.png'/>
</p>
<p>
<img src='img/loading2.gif'>
</p>
Loading, one moment please...
</div>
</div>
<div id='newsModal' class='modal hide fade' tabindex='-1' role='dialog' aria-labelledby='resultLabel' aria-hidden='true'>
<div class='modal-header'>
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>x</button>
<h3 id='resultLabel'>News</h3>
</div>
<div class='modal-body'>
<ul>
<li>
2014.02.17: Added Colemak Estonian, Ina, TaserFR, "Arensito, Simplified, Objective-C", Burroughs Bower, and TNWMLC.
</li>
<li>
2014.02.01: Added Tallus, QWERTY (Danish), QWERTY (Danish - International), Antibracket, Programmer Dvorak with Ordered Numbers, Hackers Dvorak with Ordered Numbers, NasiraJ, Workman for Programmers, Si Wei, MTGAP Thumbshift, Kinesis Advantage Svorak-r, Kinesis Advantage Qwerty, QWERTY Thumbshift, Colemak Thumbshift, and ErgoDox-modified-UPD.
</li>
<li>
2014.01.09: Added Aus der Neo Welt and BuTeck-(AdNW).
</li>
<li>
2014.01.01: Added QWERTY-Programmer and ABCDEF.
</li>
<li>
2013.12.29: Added QWERTY Spanish (European), QWERTY Estonian (European), and Ergodox Neo2.
</li>
<li>
2013.12.15: Added HIEAMTSRN layout.
</li>
<li>
2013.12.08: Added CHIN and CHIN-Programmer layouts.
</li>
<li>
2013.11.30: Added MTGAP, QWERTY: Wide Mod, Arensito, CarpalxQ, Neo 2.0 (v2), and Colemak JJT layouts.
</li>
<li>
2013.11.24: Added NRSTM, Balance Twelve, STNDC, Ergodox Norman, Simplified Dvorak with UI Swap, and WidePDK Custom layouts.
</li>
<li>
2013.11.12: Added Kinesis Advantage Colemak layout.
</li>
<li>
2013.11.11: Added QWERTY (English Varient) layout.
</li>
<li>
2013.11.01: Added Spanish Dvorak layout.
</li>
<li>
2013.10.30: Added QWPR layout.
</li>
<li>
2013.10.26: Added TypeHacK, Colemak mod JPH, and JPPE layouts.
</li>
<li>
2013.10.18: Added Anglian layout.
</li>
<li>
2013.10.15: Added OISEAU, German Dvorak Type II, One-handed Dvorak (Left), and One-handed Dvorak (Right) layouts.
</li>
<li>
2013.10.05: Added ASHLEY-GUDYR layout.
</li>
<li>
2013.10.04: Added BvoFRaK layouts and the BÉPO layout.
</li>
<li>
2013.10.01: Added Asset, Colemak HU, QWERTY Thumb Mod and Typematrix layouts.
</li>
<li>
2013.09.18: Added Neo 2, Ergodox Colemak (v2), AOEYK, Ergodox QGMLWB/Cub, Ergodox QGMLWY/Cub and Ergodox Colemak/Cub layouts.
</li>
<li>
2013.09.16: Added Norman, EAton, Ergodox Colemak, and Ergodox Gelatin layouts.
</li>
<li>
2013.09.15: Added Ergodox QWERTY and Workman layouts.
</li>
<li>
2013.09.12: Colemak MOD UK layout added.
</li>
<li>
2013.08.20: Acemak 1 layout added.
</li>
<li>
2013.08.06: Klausler, Kaeteker's Modified Dvorak, and Simplified Dvorak W/ Caps as Backspace layouts added.
</li>
<li>
2013.07.26: Workman layout added.
</li>
<li>
2013.07.24: Programmer Colemak layout added.
</li>
<li>
2013.07.23: Minimak layouts added.
</li>
<li>
2013.07.22: AZERTY layout added.
</li>
<li>
2013.07.20: QWERFJ layout added.
</li>
<li>
2013.07.19: Vu Keys layout added.
</li>
<li>
2013.07.16: QGMLWB layout added.
</li>
<li>
2013.07.16: Tarmak layouts added.
</li>
<li>
2013.07.12: Version 3.0 released.
</li>
</ul>
</div>
<div class='modal-footer'>
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
<div id='aboutModal' class='modal hide fade' tabindex='-1' role='dialog' aria-labelledby='resultLabel' aria-hidden='true'>
<div class='modal-header'>
<button type='button' class='close' data-dismiss='modal' aria-hidden='true'>x</button>
<h3 id='resultLabel'>About</h3>
</div>
<div class='modal-body'>
This application allows you to compare layouts. See the About section for more details.
</div>
<div class='modal-footer'>
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
<div id='footer'>
<div id='footer-col-set'>
<div class='footer-col'>
<div class='footer-col-header'>More apps from patorjk.com</div>
<div class='footer-col-fixed-width'>
<ul>
<li>
<a href='http://patorjk.com/gradient-image-generator/'>Gradient Image Generator</a>
</li>
<li>
<a href='http://patorjk.com/software/taag/'>Text to ASCII Art Generator</a>
</li>
<li>
<a href='http://patorjk.com/typing-speed-test/'>Typing Speed Test</a>
</li>
<li>
<a href='http://patorjk.com/games/snake/'>JavaScript Snake Game</a>
</li>
<li>
<a href='http://patorjk.com/misc/scrollingtext/timewaster.php'>Scrolling Text Time Waster!</a>
</li>
</ul>
</div>
</div>
<div class='footer-col' id='footer-news'>
<div class='footer-col-header'>News</div>
<div class='footer-col-fixed-width'>
<ul>
<li>
<a id='showNews' href='javascript:void(0);'>Latest News - 2014.02.17</a>
</li>
<li>
<a id='showAbout' href='javascript:void(0);'>About This App</a>
</li>
<li>
<a href="patorjk(at)gmail.com" class="email">Email me</a> if you have any suggestions.
</li>
</ul>
</div>
</div>
<div class='footer-col'>
<div class='footer-col-header'>Social</div>
<div >
<div class='social-btn'>
<div class="fb-like" data-href="http://patorjk.com/keyboard-layout-analyzer/" data-send="false" data-layout="button_count" data-show-faces="false"></div>
</div>
<div class='social-btn'>
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://patorjk.com/keyboard-layout-analyzer/">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<div class='social-btn'>
<div class="g-plusone" data-size="medium"></div>
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</div>
</div>
</div>
</div>
</div> <!-- end footer -->
<!-- Vendor Scripts -->
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src='./common/vendor/jqplot/jquery.jqplot.min.js'></script>
<script src="./common/vendor/jqplot/plugins/jqplot.pieRenderer.min.js"></script>
<script src="./common/vendor/jqplot/plugins/jqplot.barRenderer.min.js"></script>
<script src="./common/vendor/jqplot/plugins/jqplot.categoryAxisRenderer.min.js"></script>
<script src="./common/vendor/jqplot/plugins/jqplot.pointLabels.min.js"></script>
<script src='./common/vendor/heatmap/heatmap.js'></script>
<script src="./common/vendor/bootstrap-flat/dist/js/bootstrap.min.js"></script>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular.min.js'></script>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular-route.min.js'></script>
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.2.5/angular-animate.min.js'></script>
<!--<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.1.4/angular.min.js'></script>-->
<!-- Custom GUI -->
<script src="./common/pat/keyboard/js/kb.js?2013.09.16"></script>
<script src="./common/pat/keyboard/js/key.js?2014.01.01"></script>
<script src="./common/pat/keyboard/js/key-dialog.js?2013.09.14"></script>
<script src="./common/pat/keyboard/js/keyboard.js?2013.09.14"></script>
<!-- App Scripts -->
<script src="js/app.js?2014.01.01"></script>
<script src="js/analyzer.js"></script>
<script src="js/build/services.js?2014.01.08"></script>
<script src="js/build/controllers.js?2014.01.08"></script>
<script src="js/build/filters.js"></script>
<script src="js/build/directives.js?2014.01.02"></script>
<script src="js/build/templates.js?2014.02.17"></script>
<!--<script src="js/animations.js"></script>-->
</body>
</html>