diff options
author | Devaev Maxim <[email protected]> | 2020-07-15 13:46:33 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-15 13:46:33 +0300 |
commit | c80ff7d27ffaed38f205a2360e86fac695aaa5d9 (patch) | |
tree | 4e970e5fb42a7813ed8266c2f744919bab53e621 /web/kvm/navbar-shortcuts.pug | |
parent | 762fae59fb696f2d68e9847c0c45f7050ba64e64 (diff) |
refactoring
Diffstat (limited to 'web/kvm/navbar-shortcuts.pug')
-rw-r--r-- | web/kvm/navbar-shortcuts.pug | 34 |
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") + | ↓ 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} |