summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-shortcuts.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-07-14 22:23:43 +0300
committerDevaev Maxim <[email protected]>2021-07-14 22:23:43 +0300
commit12080b06ea5ade6b641a94e17852242f3fc6bac0 (patch)
treea562201db194ec0f5f17257c4c18a1cfbba15896 /web/kvm/navbar-shortcuts.pug
parent105928193b50f40facdc0bfc479dc51a06a97efa (diff)
separate shortcuts menu
Diffstat (limited to 'web/kvm/navbar-shortcuts.pug')
-rw-r--r--web/kvm/navbar-shortcuts.pug37
1 files changed, 37 insertions, 0 deletions
diff --git a/web/kvm/navbar-shortcuts.pug b/web/kvm/navbar-shortcuts.pug
new file mode 100644
index 00000000..f60df5ae
--- /dev/null
+++ b/web/kvm/navbar-shortcuts.pug
@@ -0,0 +1,37 @@
+li(class="right")
+ a(class="menu-button" href="#") Shortcuts
+ div(data-dont-hide-menu class="menu")
+ div(class="text")
+ b Quick keyboard shortcuts#[br]
+ sub Also see #[i System &rarr; Show keyboard]
+ 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}