-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
160 lines (151 loc) · 7.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/main.css">
<link id="theme" rel="stylesheet" href="themes/synthwave.css">
<script type="module" src="js/main.js"></script>
<link id="repeatmap" rel="stylesheet" href="heatmaps/repeat.css" disabled>
<!-- 3rd party scripts -->
<script id="DragDropTouch" src="https://bernardo-castilho.github.io/DragDropTouch/DragDropTouch.js"></script>
<script src="https://kit.fontawesome.com/7cc1d241a9.js" crossorigin="anonymous"></script>
<title>KeySolve</title>
</head>
<body>
<div id="canvas">
<div class="box">
<div id="search-wrapper">
<input id="search" class="center" autocomplete="off" value="Colemak">
<div id="complete" class="center"></div>
</div>
<div id="grid">
<div draggable="true" class="cell center Q">Q</div>
<div draggable="true" class="cell center W">W</div>
<div draggable="true" class="cell center F">F</div>
<div draggable="true" class="cell center P">P</div>
<div draggable="true" class="cell center G">G</div>
<div draggable="true" class="cell center J">J</div>
<div draggable="true" class="cell center L">L</div>
<div draggable="true" class="cell center U">U</div>
<div draggable="true" class="cell center Y">Y</div>
<div draggable="true" class="cell center ;">;</div>
<div draggable="true" class="cell center A">A</div>
<div draggable="true" class="cell center R">R</div>
<div draggable="true" class="cell center S">S</div>
<div draggable="true" class="cell center T">T</div>
<div draggable="true" class="cell center D">D</div>
<div draggable="true" class="cell center H">H</div>
<div draggable="true" class="cell center N">N</div>
<div draggable="true" class="cell center E">E</div>
<div draggable="true" class="cell center I">I</div>
<div draggable="true" class="cell center O">O</div>
<div draggable="true" class="cell center Z">Z</div>
<div draggable="true" class="cell center X">X</div>
<div draggable="true" class="cell center C">C</div>
<div draggable="true" class="cell center V">V</div>
<div draggable="true" class="cell center B">B</div>
<div draggable="true" class="cell center K">K</div>
<div draggable="true" class="cell center M">M</div>
<div draggable="true" class="cell center ,">,</div>
<div draggable="true" class="cell center .">.</div>
<div draggable="true" class="cell center '">'</div>
</div>
</div>
<div id="table-wrapper" class="box center">
<table id="ngrams">
<tbody>
<tr>
<td>BIGRAMS</td>
<td id="SFB" style="background: var(--color-2);">SFB: 1.50%</td>
<td id="LSB" style="background: var(--color-1);">LSB: 3.84%</td>
<td id="HSB" style="background: var(--color-2);">HSB: 6.07%</td>
<td id="FSB" style="background: var(--color-3);">FSB: 0.37%</td>
</tr>
<tr>
<td>SKIPGRAMS</td>
<td id="SFS" style="background: var(--color-1);">SFS: 8.17%</td>
<td id="LSS" style="background: var(--color-2);">LSS: 2.59%</td>
<td id="HSS" style="background: var(--color-4);">HSS: 6.49%</td>
<td id="FSS" style="background: var(--color-3);">FSS: 0.69%</td>
</tr>
<tr>
<td>TRIGRAMS</td>
<td id="ALT" style="background: var(--color-4);">ALT: 28.25%</td>
<td id="ROL" style="background: var(--color-2);">ROL: 43.82%</td>
<td id="ONE" style="background: var(--color-3);">ONE: 2.54%</td>
<td id="RED" style="background: var(--color-1);">RED: 6.84%</td>
</tr>
</tbody>
</table>
<table id="use" hidden>
<tbody>
<tr>
<td>LEFT</td>
<td id="LI" style="background: var(--color-1);">LI: 18.67%</td>
<td id="LM" style="background: var(--color-4);">LM: 10.11%</td>
<td id="LR">LR: 7.78%</td>
<td id="LP" style="background: var(--color-3);">LP: 7.57%</td>
</tr>
<tr>
<td>RIGHT</td>
<td id="RI" style="background: var(--color-1);">RI: 19.85%</td>
<td id="RM" style="background: var(--color-2);">RM: 16.78%</td>
<td id="RR" style="background: var(--color-4);">RR: 10.39%</td>
<td id="RP" style="background: var(--color-2);">RP: 8.86%</td>
</tr>
<tr>
<td>TOTAL</td>
<td id="LH" colspan="2" style="background: var(--color-4);">LH: 44.12%</td>
<td id="RH" colspan="2" style="background: var(--color-1);">RH: 55.88%</td>
</tr>
</tbody>
</table>
</div>
<div id="toolbar">
<button class="button" onclick="toggle()">
<i class="fa-solid fa-chart-simple"></i>
Stats
</button>
<button class="button" onclick="mirror()">
<i class="fa-solid fa-arrow-right-arrow-left"></i>
Mirror
</button>
<button class="button" onclick="invert()">
<i class="fa-solid fa-arrows-up-down"></i>
Invert
</button>
<button class="button" onclick="board()">
<i class="fa-solid fa-keyboard"></i>
Board
</button>
<button class="button" onclick="settings()">
<i class="fa-solid fa-gear"></i>
</button>
<button class="button" onclick="info()">
<i class="fa-brands fa-github"></i>
</button>
</div>
</div>
<input id="editor" hidden=true>
<div id="pop-ups" class="center" hidden>
<div id="settings" class="settings-text">
<div>
<hi class="settings-text">Layout Editor</hi>
<textarea class="settings-text" id="matrix"></textarea>
<div>
<button class="settings-text" onclick="copy()">Copy</button>
</div>
<div>
<select id="themes" name="themes" class="settings-text">
<option class="settings-text" selected hidden>Themes</option>
</select>
</div>
</div>
</div>
</div>
</div>
</body>
</html>