summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-07-25 02:15:20 +0300
committerMaxim Devaev <[email protected]>2024-07-25 02:15:38 +0300
commit73f929b260c11e44d6ed322f81ec7efb63aa787f (patch)
treeb1583c097a321b7f830cf829eec7004b5d44fc66 /web
parent1f8a3a4c9a35dca0390b1d866dca508ef3ed23b2 (diff)
pikvm/pikvm#1295: Shortcut for the Power key
Diffstat (limited to 'web')
-rw-r--r--web/kvm/index.html3
-rw-r--r--web/kvm/navbar-shortcuts.pug3
2 files changed, 4 insertions, 2 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index ef4a8a21..3ff0e76b 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -798,7 +798,8 @@
</div>
<hr>
<div class="buttons-row">
- <button data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete">&bull; Ctrl+Alt+Del</button>
+ <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="Power">&bull; Power</button>
</div>
</div>
<hr>
diff --git a/web/kvm/navbar-shortcuts.pug b/web/kvm/navbar-shortcuts.pug
index 1a4ef7ad..378fdc09 100644
--- a/web/kvm/navbar-shortcuts.pug
+++ b/web/kvm/navbar-shortcuts.pug
@@ -33,7 +33,8 @@ li(id="shortcuts-dropdown" class="right")
button(data-force-hide-menu data-shortcut="PrintScreen" class="row50") &bull; Print Screen
hr
div(class="buttons-row")
- button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete") &bull; Ctrl+Alt+Del
+ button(data-force-hide-menu data-shortcut="ControlLeft AltLeft Delete" class="row50") &bull; Ctrl+Alt+Del
+ button(data-force-hide-menu data-shortcut="Power" class="row50") &bull; Power
hr
div(class="text")
| &darr; &bull; Alt+SysRq+... <sup><i>linux magic