diff options
author | Maxim Devaev <[email protected]> | 2020-09-23 21:21:32 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-23 21:21:32 +0300 |
commit | 3f743114857b11656957767bec4bfa27f4dd7fee (patch) | |
tree | 724789f1e5cedc5c5d5f168fa2aa1cdaa16a3b7d /web | |
parent | bbf3b18fe3350c08e6dbcfde20a9e2a4685e8be1 (diff) | |
parent | 3701a0a7421e96e9beedb9fe1a2a27c807fce2dc (diff) |
Merge pull request #10 from mfunkey/new_key
Added missing key on non us keyboards
Diffstat (limited to 'web')
-rw-r--r-- | web/kvm/index.html | 8 | ||||
-rw-r--r-- | web/kvm/window-keyboard.pug | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 7784963f..39e1cfb8 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -681,10 +681,14 @@ </div> </div> <div class="keypad-row"> - <div class="modifier wide-4 left small" data-code="ShiftLeft"> + <div class="modifier wide-3 left small" data-code="ShiftLeft"> <div class="label"><b>•</b><br>Shift </div> </div> + <div class="key small" data-code="IntlBackslash"> + <div class="label"> + </div> + </div> <div class="key single" data-code="KeyZ"> <div class="label">Z </div> @@ -725,7 +729,7 @@ <div class="label">?<br>/ </div> </div> - <div class="modifier wide-4 right small" data-code="ShiftRight"> + <div class="modifier wide-3 right small" data-code="ShiftRight"> <div class="label"><b>•</b><br>Shift </div> </div> diff --git a/web/kvm/window-keyboard.pug b/web/kvm/window-keyboard.pug index 467142df..87abf64e 100644 --- a/web/kvm/window-keyboard.pug +++ b/web/kvm/window-keyboard.pug @@ -51,13 +51,14 @@ mixin lamp(cls) +key("Quote") "#[br]' +key("Enter", "wide-3 right small") Enter#[br]↵ div(class="keypad-row") - +modifier("ShiftLeft", "wide-4 left small") Shift + +modifier("ShiftLeft", "wide-3 left small") Shift + +key("IntlBackslash", "small") each key in ["Z", "X", "C", "V", "B", "N", "M"] +key(`Key${key}`, "single") #{key} +key("Comma") <#[br], +key("Period") >#[br]. +key("Slash") ?#[br]/ - +modifier("ShiftRight", "wide-4 right small") Shift + +modifier("ShiftRight", "wide-3 right small") Shift div(class="keypad-row") +modifier("ControlLeft", "wide-1 left small") Ctrl +modifier("MetaLeft", "wide-1 left small") Win |