From ed6844927472c93876bcbcb00591f9c0f5a89084 Mon Sep 17 00:00:00 2001 From: mofeng-git Date: Wed, 27 Nov 2024 13:33:49 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=9B=B8=E5=AF=B9=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E9=BC=A0=E6=A0=87=E4=B8=8D=E5=8F=AF=E7=94=A8=20?= =?UTF-8?q?=E6=AD=A4=E9=97=AE=E9=A2=98=E6=9C=89=E5=90=88=E5=B9=B6=E4=B8=8A?= =?UTF-8?q?=E6=B8=B8=E6=9B=B4=E6=96=B0=E5=86=B2=E7=AA=81=E6=89=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- testenv/v2-hdmiusb-rpi4.override.yaml | 4 ++++ web/kvm/index.html | 32 +++++++++++++-------------- web/kvm/navbar-system.pug | 17 +++++++------- 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/testenv/v2-hdmiusb-rpi4.override.yaml b/testenv/v2-hdmiusb-rpi4.override.yaml index bf7fd12b..cb18b1aa 100644 --- a/testenv/v2-hdmiusb-rpi4.override.yaml +++ b/testenv/v2-hdmiusb-rpi4.override.yaml @@ -11,6 +11,10 @@ kvmd: mouse: device: /dev/null noop: true + + mouse_alt: + device: /dev/null + wol: mac: 00:00:00:00:00:00 diff --git a/web/kvm/index.html b/web/kvm/index.html index 33de6f49..bb4e7766 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -264,23 +264,21 @@ -
-
- - - - - - - - - -
Keyboard mode: -
-
Mouse mode: -
-
-
+
+ + + + + + + + + +
Keyboard mode: +
+
Mouse mode: +
+
Keyboard & Mouse (HID) settings
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index 0370747d..e1d01ea6 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -77,15 +77,14 @@ li(id="system-dropdown" class="right") div(class="buttons buttons-row") button(data-force-hide-menu id="stream-record-start-button" class="row50" i18n="kvm_text81") • Start recording button(data-force-hide-menu id="stream-record-stop-button" class="row50" i18n="kvm_text82") • End recording - div(id="hid-outputs" class="feature-disabled") - hr - table(class="kv") - tr(id="hid-outputs-keyboard", class="feature-disabled") - td(i18n="kvm_text23") Keyboard mode: - td #[div(id="hid-outputs-keyboard-box" class="radio-box")] - tr(id="hid-outputs-mouse", class="feature-disabled") - td(i18n="kvm_text24") Mouse #[a(target="_blank" href="https://docs.pikvm.org/mouse") mode]: - td #[div(id="hid-outputs-mouse-box" class="radio-box")] + hr + table(class="kv") + tr(id="hid-outputs-keyboard", class="feature-disabled") + td(i18n="kvm_text23") Keyboard mode: + td #[div(id="hid-outputs-keyboard-box" class="radio-box")] + tr(id="hid-outputs-mouse", class="feature-disabled") + td(i18n="kvm_text24") Mouse #[a(target="_blank" href="https://docs.pikvm.org/mouse") mode]: + td #[div(id="hid-outputs-mouse-box" class="radio-box")] details summary(i18n="kvm_text25") Keyboard & Mouse (HID) settings div(class="spoiler")