forked from gnusenpai/colemakclub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
142 lines (128 loc) · 5.32 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
<!DOCTYPE html>
<html>
<head>
<title>Colemak Club - Learn Colemak fast. A free, easy way to learn to touch type the Colemak layout, Colemak-DH, Dvorak, and other custom keyboard layouts. The best, most customizable typing tutor and keyboard trainer available. Also works for workman, qwerty, and azerty</title>
<meta charset="UTF-8">
<meta name="description" content="Colemak Club - Learn Colemak fast. A free, easy way to learn to touch type the Colemak layout, Colemak-DH, Dvorak, and other custom keyboard layouts. The best, most customizable typing tutor and keyboard trainer available. Also works for workman, qwerty, and azerty">
<meta name="author" content="Layout Academy">
<link rel="icon" href='img/favicon.webp'>
<link rel="stylesheet" type="text/css" href="logic/main.css">
</head>
<body>
<div id='selectors'>
<div>
<select id='layout' autocomplete="off">
<option value='colemak'>Colemak</option>
<option value='colemakdh'>Colemak-DH</option>
<option disabled/>
<option value='azerty'>AZERTY</option>
<option value='dvorak'>Dvorak</option>
<option value='lefthandeddvorak'>Left-handed Dvorak</option>
<option value='qwerty'>QWERTY</option>
<option value='tarmak'>Tarmak</option>
<option value='workman'>Workman</option>
<option value='canary'>Canary</option>
<option disabled/>
<option value='custom'>Custom</option>
</select>
</div>
<div>
<select id='keyboard' autocomplete="off">
<option value='ansi'>ANSI</option>
<option value='iso'>ISO</option>
<option value='ortho'>Ortho</option>
</select>
</div>
</div>
<button class='preferenceButton'></button>
<div class='preferenceMenu'>
<button class='closePreferenceButton'></button>
<ul class='preferences'>
<li>Capital Letters Allowed<input class='capitalLettersAllowed' type="checkbox"autocomplete="off"></li>
<li>Require Backspace Correction<input class='requireBackspaceCorrectionToggle' type="checkbox" autocomplete="off" checked></li>
<li>Punctuation Allowed<input class='punctuationModeButton' type="checkbox"autocomplete="off"></li>
<li>Full Sentence Mode<input class='fullSentenceMode' type="checkbox"autocomplete="off"></li>
<li>Word Scrolling Mode
<input class='wordScrollingModeButton' type="checkbox" autocomplete="off"checked>
</li>
<li>
<input class='timeLimitModeInput noDisplay' type="number" value="60"autocomplete="off">
Time Limit Mode<input class='timeLimitModeButton' type="checkbox"autocomplete="off">
</li>
<li>
<input class='wordLimitModeInput' type="number" value="50" step="10"autocomplete="off">
Word Limit Mode <input class='wordLimitModeButton' type="checkbox" autocomplete="off"checked>
</li>
<li>Show Cheatsheet<input class='showCheatsheetButton' type="checkbox" autocomplete="off" checked></li>
</ul>
</div>
<nav>
<button class='currentLevel lvl1'>Level 1</button>
<button class='lvl2'>Level 2</button>
<button class='lvl3'>Level 3</button>
<button class='lvl4'>Level 4</button>
<button class='lvl5'>Level 5</button>
<button class='lvl6'>Level 6</button>
<button class='lvl7'>All Words</button>
<button class='lvl8'>Full Sentences</button>
</nav>
<div class="customInput">
<div class="buttonHolder">
<button class='discardButton'>Discard</button>
<button class='saveButton'>Save</button>
</div>
<div id='inputKeyboard'></div>
<div id='inputShiftKeyboard'></div>
<input type="text" name="customKey" id="customUIKeyInput">
<div id='customUILevelSelect'>
<button class='customUILevelButton currentCustomUILevel'>lvl1</button>
<button class='customUILevelButton'>lvl2</button>
<button class='customUILevelButton'>lvl3</button>
<button class='customUILevelButton'>lvl4</button>
<button class='customUILevelButton'>lvl5</button>
<button class='customUILevelButton'>lvl6</button>
</div>
</div>
<section id="main">
<h1><span id="layoutName">Colemak</span> Club</h1>
<div class='typingArea'>
<div class='fade' id='fadeElement'>
<h2 class='noDisplay prompt'>
</h2>
</div>
<button id="resetButton" class='noDisplay'>Reset</button>
<input id = 'userInput' type="paragraph" spellcheck="false">
<div id='scoreAndClock'>
<span id="scoreText">0/50</span>
<span id="timeText">0m :0 s</span>
</div>
<div id='testResults' class='transparent'>
<div id='accuracyText'></div>
<div id='wpmText'></div>
</div>
</div>
<div class='cheatsheetContainer'>
<div class='cheatsheet'></div>
<div>
<button class='openUIButton'></button>
</div>
</div>
<div class='bottomText'>
<h3>Contribute on <a href="https://github.com/gnusenpai/colemakclub" target="_blank">GitHub</a>.</h3>
<h3>Sign the <a href="https://www.change.org/p/microsoft-add-colemak-as-a-pre-installed-keyboard-layout-to-windows" target="_blank">Petition</a> to add Colemak to Windows.</h3>
</div>
</section>
<div id='mappingToggle'>
<h6>Keyboard Mapping: <span>off</span></h6>
<label class="switch" >
<input type="checkbox" autocomplete="off">
<span class="slider"></span>
</label>
</div>
<script type="text/javascript" src="logic/layoutInfo.js"></script>
<script type="text/javascript" src="logic/wordList.js"></script>
<script type="text/javascript" src="logic/keyboardDivs.js"></script>
<script type="text/javascript" src="logic/app.js"></script>
</body>
</html>
<!-- ©NickMariano 2020 -->