From 8f890af803f42c73f30d9ece0ab857a4732ac2fa Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 4 Dec 2022 18:38:52 +0300 Subject: web: improved keyboard style --- web/kvm/index.html | 12 ++++++------ web/kvm/window-keyboard.pug | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) (limited to 'web') diff --git a/web/kvm/index.html b/web/kvm/index.html index 08aeecfe..3e001c0e 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -952,7 +952,7 @@
+
=
-
+
@@ -963,7 +963,7 @@

-
+
Q
@@ -1034,7 +1034,7 @@

Caps Lock
-
+
A
@@ -1089,7 +1089,7 @@
"
'
-
+
Enter
@@ -1100,7 +1100,7 @@

Shift
-
+
Z
@@ -1150,7 +1150,7 @@
?
/
-
+

Shift
diff --git a/web/kvm/window-keyboard.pug b/web/kvm/window-keyboard.pug index f1370c3b..21b2379a 100644 --- a/web/kvm/window-keyboard.pug +++ b/web/kvm/window-keyboard.pug @@ -49,31 +49,31 @@ div(id="keyboard-window" class="window") +key(1, `Digit${index + 1}`) #{key}#[br]#{index + 1} +key(1, "Digit0") )#[br]0 +key(1, "Minus") _#[br]- - +key(2, "Equal") +#[br]= + +key(1, "Equal") +#[br]= +key(0, "Backspace", "wide-1 right") ↤ div(class="keypad-row") - +key(2, "Tab", "wide-1 left") ⇤#[br]⇥ + +key(1, "Tab", "wide-1 left") ⇤#[br]⇥ each key in ["Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P"] +key(1, `Key${key}`, "single") #{key} +key(1, "BracketLeft") {#[br][ +key(1, "BracketRight") }#[br]] +key(0, "Backslash") |#[br]\ div(class="keypad-row") - +key(2, "CapsLock", "wide-2 left small") + +key(1, "CapsLock", "wide-2 left small") +lamp("hid-keyboard-caps-led") | #[br] Caps Lock each key in ["A", "S", "D", "F", "G", "H", "J", "K", "L"] +key(1, `Key${key}`, "single") #{key} +key(1, "Semicolon") :#[br]; - +key(2, "Quote") "#[br]' + +key(1, "Quote") "#[br]' +key(0, "Enter", "wide-2 right small") Enter#[br]↵ div(class="keypad-row") - +modifier(2, "ShiftLeft", "wide-3 left small") Shift + +modifier(1, "ShiftLeft", "wide-3 left small") Shift each key in ["Z", "X", "C", "V", "B", "N", "M"] +key(1, `Key${key}`, "single") #{key} +key(1, "Comma") <#[br], +key(1, "Period") >#[br]. - +key(2, "Slash") ?#[br]/ + +key(1, "Slash") ?#[br]/ +modifier(0, "ShiftRight", "wide-3 right small") Shift div(class="keypad-row") +modifier(2, "ControlLeft", "wide-1 left small") Ctrl -- cgit v1.2.3