summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-shortcuts.pug
diff options
context:
space:
mode:
Diffstat (limited to 'web/kvm/navbar-shortcuts.pug')
-rw-r--r--web/kvm/navbar-shortcuts.pug34
1 files changed, 34 insertions, 0 deletions
diff --git a/web/kvm/navbar-shortcuts.pug b/web/kvm/navbar-shortcuts.pug
new file mode 100644
index 00000000..fe12da64
--- /dev/null
+++ b/web/kvm/navbar-shortcuts.pug
@@ -0,0 +1,34 @@
+li(class="right")
+ a(class="menu-button" href="#") Shortcuts ↴
+ div(data-dont-hide-menu class="menu")
+ div(class="buttons")
+ textarea(id="hid-pak-text" placeholder="Paste your text here")
+ hr
+ button(disabled data-force-hide-menu id="hid-pak-button") • ↳ Paste-as-Keys #[sup #[i ascii-only]]
+ hr
+ div(class="buttons-row")
+ button(data-force-hide-menu data-shortcut="CapsLock" class="row50")
+ | • Caps Lock  
+ 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") • Left Win
+ hr
+ button(data-force-hide-menu data-shortcut="AltLeft ShiftLeft") • Alt+Shift
+ button(data-force-hide-menu data-shortcut="ControlLeft ShiftLeft") • Ctrl+Shift
+ button(data-force-hide-menu data-shortcut="ShiftLeft ShiftRight") • Shift+Shift
+ button(data-force-hide-menu data-shortcut="MetaLeft Space") • Win+Space
+ hr
+ button(data-force-hide-menu data-shortcut="ControlLeft KeyW") • Ctrl+W
+ button(data-force-hide-menu data-shortcut="AltLeft Tab") • Alt+Tab
+ button(data-force-hide-menu data-shortcut="AltLeft Enter") • Alt+Enter
+ button(data-force-hide-menu data-shortcut="AltLeft F4") • Alt+F4
+ hr
+ button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete") • Ctrl+Alt+Del
+ hr
+ div(class="text")
+ | &darr; 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}