summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-keyboard.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-07-14 18:56:58 +0300
committerDevaev Maxim <[email protected]>2021-07-14 18:56:58 +0300
commitd8c373103135d743c91b0a9e9e142625b79a771d (patch)
tree72612d2a43dcb525623ee1d2f498d0f22f0d7c06 /web/kvm/navbar-keyboard.pug
parentc23bf1d80752e2b51e9a4c37dab1f7945219f4ee (diff)
renamed shortcuts to keyboard, moved gpio
Diffstat (limited to 'web/kvm/navbar-keyboard.pug')
-rw-r--r--web/kvm/navbar-keyboard.pug51
1 files changed, 51 insertions, 0 deletions
diff --git a/web/kvm/navbar-keyboard.pug b/web/kvm/navbar-keyboard.pug
new file mode 100644
index 00000000..ce526f76
--- /dev/null
+++ b/web/kvm/navbar-keyboard.pug
@@ -0,0 +1,51 @@
+li(class="right")
+ a(class="menu-button" href="#") Keyboard
+ div(data-dont-hide-menu class="menu")
+ div(class="text")
+ b Paste text as keypress sequence#[br]
+ hr
+ div(class="text" style="margin-right: 20px")
+ textarea(id="hid-pak-text" placeholder="Enter your text here")
+ hr
+ table(class="kv")
+ tr
+ td
+ button(disabled data-force-hide-menu id="hid-pak-button") &bull; Paste
+ td using host keymap
+ td
+ select(id="hid-pak-keymap-selector")
+ hr
+ +menu_switch("hid-pak-ask-switch", "Ask paste confirmation", true, true)
+ hr
+ div(class="text")
+ hr
+ div(class="buttons")
+ div(class="buttons-row")
+ button(data-force-hide-menu data-shortcut="CapsLock" class="row50")
+ | &bull; Caps Lock &nbsp;
+ img(class="inline-lamp hid-keyboard-caps-led led-gray" src=`${svg_dir}/led-square.svg`)
+ button(data-force-hide-menu data-shortcut="MetaLeft" class="row50") &bull; Left Win
+ hr
+ div(class="buttons-row")
+ button(data-force-hide-menu data-shortcut="AltLeft ShiftLeft" class="row50") &bull; Alt+Shift
+ button(data-force-hide-menu data-shortcut="ControlLeft KeyW" class="row50") &bull; Ctrl+W
+ div(class="buttons-row")
+ button(data-force-hide-menu data-shortcut="ControlLeft ShiftLeft" class="row50") &bull; Ctrl+Shift
+ button(data-force-hide-menu data-shortcut="AltLeft Tab" class="row50") &bull; Alt+Tab
+ div(class="buttons-row")
+ button(data-force-hide-menu data-shortcut="ShiftLeft ShiftRight" class="row50") &bull; Shift+Shift
+ button(data-force-hide-menu data-shortcut="AltLeft Enter" class="row50") &bull; Alt+Enter
+ div(class="buttons-row")
+ button(data-force-hide-menu data-shortcut="MetaLeft Space" class="row50") &bull; Win+Space
+ button(data-force-hide-menu data-shortcut="AltLeft F4" class="row50") &bull; Alt+F4
+ hr
+ button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete") &bull; Ctrl+Alt+Del
+ hr
+ div(class="text")
+ | &darr; &bull; Alt+SysRq+... <sup><i>linux magic
+ | #[a(target="_blank" href="https://www.kernel.org/doc/html/latest/admin-guide/sysrq.html") help]</i></sup>
+ hr
+ div(class="buttons")
+ div(class="buttons-row")
+ each key in ["R", "E", "I", "S", "U", "B"]
+ button(data-shortcut=`AltLeft PrintScreen Key${key}` class="row16") #{key}