summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-12-02 15:34:06 +0300
committerMaxim Devaev <[email protected]>2022-12-02 15:34:06 +0300
commit94b7c99597d25b2e762e583f993a2f4367e94095 (patch)
tree5e0b5d4928d39b61852dcd8903b3511d8f54d5c5 /web/kvm
parent3ae671e0c0d06a681fe7aa0a0c2a3952d1600e99 (diff)
Fixed pikvm/pikvm#888: Added Ctrl+Alt+F1/2 shortcuts
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html5
-rw-r--r--web/kvm/navbar-shortcuts.pug4
2 files changed, 9 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 3d852763..08aeecfe 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -708,6 +708,11 @@
<button class="row50" data-force-hide-menu data-shortcut="AltLeft F4">&bull; Alt+F4</button>
</div>
<hr>
+ <div class="buttons-row">
+ <button class="row50" data-force-hide-menu data-shortcut="ControlLeft AltLeft F1">&bull; Ctrl+Alt+F1</button>
+ <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>
<hr>
diff --git a/web/kvm/navbar-shortcuts.pug b/web/kvm/navbar-shortcuts.pug
index adf5ef2c..7510e7d1 100644
--- a/web/kvm/navbar-shortcuts.pug
+++ b/web/kvm/navbar-shortcuts.pug
@@ -25,6 +25,10 @@ li(id="shortcuts-dropdown" class="right")
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
+ div(class="buttons-row")
+ 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
hr
div(class="text")