summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-shortcuts.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-15 13:46:33 +0300
committerDevaev Maxim <[email protected]>2020-07-15 13:46:33 +0300
commitc80ff7d27ffaed38f205a2360e86fac695aaa5d9 (patch)
tree4e970e5fb42a7813ed8266c2f744919bab53e621 /web/kvm/navbar-shortcuts.pug
parent762fae59fb696f2d68e9847c0c45f7050ba64e64 (diff)
refactoring
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 &#8628;
+ 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") &bull; &#x21b3; Paste-as-Keys #[sup #[i ascii-only]]
+ hr
+ 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
+ button(data-force-hide-menu data-shortcut="AltLeft ShiftLeft") &bull; Alt+Shift
+ button(data-force-hide-menu data-shortcut="ControlLeft ShiftLeft") &bull; Ctrl+Shift
+ button(data-force-hide-menu data-shortcut="ShiftLeft ShiftRight") &bull; Shift+Shift
+ button(data-force-hide-menu data-shortcut="MetaLeft Space") &bull; Win+Space
+ hr
+ button(data-force-hide-menu data-shortcut="ControlLeft KeyW") &bull; Ctrl+W
+ button(data-force-hide-menu data-shortcut="AltLeft Tab") &bull; Alt+Tab
+ button(data-force-hide-menu data-shortcut="AltLeft Enter") &bull; Alt+Enter
+ button(data-force-hide-menu data-shortcut="AltLeft F4") &bull; Alt+F4
+ hr
+ button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete") &bull; 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}