forked from kiibohd/KiiConf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (135 loc) · 6.62 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>KII Keyboard Configurator</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="lib/polyfill.min.js"></script>
<script src="lib/jquery.min.js"></script>
<script src="lib/lodash.min.js"></script>
<script src="js/settings.js"></script>
<script src="js/utils.js"></script>
<script src="js/defaults.js"></script>
<script src="js/emitter.js"></script>
<script src="js/key.js"></script>
<script src="js/import-map.js"></script>
<script src="js/configurator.js"></script>
</head>
<body class="configurator">
<div id="wrapper" class="wrapper">
<nav class="cf">
<div id="layout-list" class="pseudo-select">
<span id="active-layout-title"> </span>
</div>
<button type="button" id="import-map" class="button-read">import map</button>
<input type="button" onclick="window.open('https://github.com/kiibohd/KiiConf/wiki', '_blank');" value="Help" />
<input type="button" onclick="window.open('stats.json', '_blank');" value="Version" />
<div class="pull-right">
<button type="button" id="reset-layout" class="button-reset" disabled>reset to default</button>
<label> Firmware Ver:
<select id="compiler-mode" name="compiler-mode">
<option value="latest" selected>latest</option>
<option value="lts">lts</option>
</select>
</label>
<button type="button" id="download-map" class="button-write pull-right">download firmware</button>
</div>
</nav>
<div id="alert" class="hide">
<span class="alert">We've reloaded where you left off last time!</span>
</div>
<ul id="layers" class="tabs">
<li class="tab-layer-0 selected"><input id="layer-check-0" type="checkbox" value="0" checked title="toggle visibility">Main</li>
<li class="tab-layer-1"><input id="layer-check-1" type="checkbox" value="1" checked title="toggle visibility">Layer 1</li>
<li class="tab-layer-2"><input id="layer-check-2" type="checkbox" value="2" checked title="toggle visibility">Layer 2</li>
<li class="tab-layer-3"><input id="layer-check-3" type="checkbox" value="3" title="toggle visibility">Layer 3</li>
<li class="tab-layer-4"><input id="layer-check-4" type="checkbox" value="4" title="toggle visibility">Layer 4</li>
<li class="tab-layer-5"><input id="layer-check-5" type="checkbox" value="5" title="toggle visibility">Layer 5</li>
<li class="tab-layer-6"><input id="layer-check-6" type="checkbox" value="6" title="toggle visibility">Layer 6</li>
<li class="tab-layer-7"><input id="layer-check-7" type="checkbox" value="7" title="toggle visibility">Layer 7</li>
</ul>
<div class="container" id="container">
<div id="stage" class="keyboard"></div>
</div>
</div>
<div id="shortcuts" class="shortcuts cf" style="display:none">
<!-- Need to move this creation with the others -->
<div id="group-special" class="group">
<div class="title">
<span class="title-name">special</span>
<span class="toggle-vis" data-group="special">[hide]</span>
</div>
<ul class="group-data">
<li><span id="clear-key" class="shortcut-button" data-key="*CLEAR">CLR-KEY</span></li>
</ul>
</div>
</div>
<div class="shortcuts cf" style="display:none">
<div id="group-kll-headers" class="group">
<div class="title">
<span class="title-name">kll headers</span>
<span class="toggle-vis" data-group="kll-headers">[hide]</span>
</div>
<div class="group-data pull-left">
<div class="stacked-containers">
<div class="flex-container">
<label class="item" for="kll-header-name">Name:</label>
<input type="text" id="kll-header-name" class="item" disabled />
</div>
<div class="flex-container">
<label class="item" for="kll-header-variant">Variant:</label>
<input type="text" id="kll-header-variant" class="item" disabled />
</div>
<div class="flex-container">
<label class="item" for="kll-header-layout">Layout:</label>
<input type="text" id="kll-header-layout" class="item" disabled />
</div>
<div class="flex-container">
<label class="item" for="kll-header-base">Base:</label>
<input type="text" id="kll-header-base" class="item" disabled />
</div>
<div class="flex-container">
<label class="item" for="kll-header-version">Version:</label>
<input type="text" id="kll-header-version" class="item"/>
</div>
<div class="flex-container">
<label class="item" for="kll-header-author">Author:</label>
<input type="text" id="kll-header-author" class="item"/>
</div>
<div class="flex-container">
<label class="item" for="kll-header-kll">KLL:</label>
<input type="text" id="kll-header-kll" class="item" disabled />
</div>
<div class="flex-container">
<label class="item" for="kll-header-date">Date:</label>
<input type="text" id="kll-header-date" class="item"/>
</div>
<div class="flex-container">
<label class="item" for="kll-header-generator">Generator:</label>
<input type="text" id="kll-header-generator" class="item" disabled />
</div>
</div>
</div>
</div>
<div id="group-kll-defines" class="group">
<div class="title">
<span class="title-name">kll defines</span>
<span class="toggle-vis" data-group="kll-defines">[hide]</span>
</div>
<div class="group-data pull-left">
<div class="stacked-containers" id="kll-define-list">
<div class="flex-container">
<div class="item placeholder">Name</div>
<div class="item placeholder">Value</div>
<img class="item btn" id="add-define-btn" src="img/ic_add_circle_outline_black_24px.svg">
</div>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function (){ Configurator.create().init(); });
</script>
</body>
</html>