summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-08-18 02:39:07 +0300
committerMaxim Devaev <[email protected]>2023-08-18 02:39:07 +0300
commitc41e2fa5996d8736f511fec1281833d07ffd82e6 (patch)
tree0fbbd7c676115f74034b34b95bdd2ca5d3c44822
parent5e0eecb67a635494cd36c6049c4dba953776b612 (diff)
pikvm/pikvm#1090: web: added win+l hotkey
-rw-r--r--web/kvm/index.html5
-rw-r--r--web/kvm/navbar-shortcuts.pug4
2 files changed, 7 insertions, 2 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index d1195bf6..e2b072db 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -733,7 +733,10 @@
<button class="row50" data-force-hide-menu data-shortcut="ControlLeft AltLeft F2">&bull; Ctrl+Alt+F2</button>
</div>
<hr>
- <button data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete">&bull; Ctrl+Alt+Del</button>
+ <div class="buttons-row">
+ <button class="row50" data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete">&bull; Ctrl+Alt+Del</button>
+ <button class="row50" data-force-hide-menu data-shortcut="MetaLeft KeyL">&bull; Win+L</button>
+ </div>
</div>
<hr>
<div class="text">
diff --git a/web/kvm/navbar-shortcuts.pug b/web/kvm/navbar-shortcuts.pug
index 7510e7d1..07fa846b 100644
--- a/web/kvm/navbar-shortcuts.pug
+++ b/web/kvm/navbar-shortcuts.pug
@@ -29,7 +29,9 @@ li(id="shortcuts-dropdown" class="right")
button(data-force-hide-menu data-shortcut="ControlLeft AltLeft F1" class="row50") &bull; Ctrl+Alt+F1
button(data-force-hide-menu data-shortcut="ControlLeft AltLeft F2" class="row50") &bull; Ctrl+Alt+F2
hr
- button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete") &bull; Ctrl+Alt+Del
+ div(class="buttons-row")
+ button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete" class="row50") &bull; Ctrl+Alt+Del
+ button(data-force-hide-menu data-shortcut="MetaLeft KeyL" class="row50") &bull; Win+L
hr
div(class="text")
| &darr; &bull; Alt+SysRq+... <sup><i>linux magic