summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-11-03 18:28:28 +0200
committerMaxim Devaev <[email protected]>2024-11-03 18:28:28 +0200
commitd93639ba8dcd003f82221f4ed99159755f2213c3 (patch)
treecc3291955215ec1455f26922f50de27563d47a5f /web/kvm
parent1e277c0f06f25e67a35a1b2910ed59333f97f6c0 (diff)
hid with granularity prototype
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html32
-rw-r--r--web/kvm/navbar-system.pug17
2 files changed, 23 insertions, 26 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index d2f264df..81eb9753 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -256,23 +256,21 @@
<button class="row33" data-force-hide-menu id="stream-screenshot-button">&bull; Screenshot</button>
<button class="row33" id="stream-reset-button">Reset stream</button>
</div>
- <div class="feature-disabled" id="hid-outputs">
- <hr>
- <table class="kv">
- <tr class="feature-disabled" id="hid-outputs-keyboard">
- <td>Keyboard mode:</td>
- <td>
- <div class="radio-box" id="hid-outputs-keyboard-box"></div>
- </td>
- </tr>
- <tr class="feature-disabled" id="hid-outputs-mouse">
- <td>Mouse <a target="_blank" href="https://docs.pikvm.org/mouse">mode</a>:</td>
- <td>
- <div class="radio-box" id="hid-outputs-mouse-box"></div>
- </td>
- </tr>
- </table>
- </div>
+ <hr>
+ <table class="kv">
+ <tr class="feature-disabled" id="hid-outputs-keyboard">
+ <td>Keyboard mode:</td>
+ <td>
+ <div class="radio-box" id="hid-outputs-keyboard-box"></div>
+ </td>
+ </tr>
+ <tr class="feature-disabled" id="hid-outputs-mouse">
+ <td>Mouse <a target="_blank" href="https://docs.pikvm.org/mouse">mode</a>:</td>
+ <td>
+ <div class="radio-box" id="hid-outputs-mouse-box"></div>
+ </td>
+ </tr>
+ </table>
<details>
<summary>Keyboard &amp; Mouse (HID) settings</summary>
<div class="spoiler">
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index d10dbee0..6e2a33d2 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -71,15 +71,14 @@ li(id="system-dropdown" class="right")
button(data-force-hide-menu data-show-window="stream-window" class="row33") &bull; Show stream
button(data-force-hide-menu id="stream-screenshot-button" class="row33") &bull; Screenshot
button(id="stream-reset-button" class="row33") Reset stream
- div(id="hid-outputs" class="feature-disabled")
- hr
- table(class="kv")
- tr(id="hid-outputs-keyboard", class="feature-disabled")
- td Keyboard mode:
- td #[div(id="hid-outputs-keyboard-box" class="radio-box")]
- tr(id="hid-outputs-mouse", class="feature-disabled")
- td 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 Keyboard mode:
+ td #[div(id="hid-outputs-keyboard-box" class="radio-box")]
+ tr(id="hid-outputs-mouse", class="feature-disabled")
+ td Mouse #[a(target="_blank" href="https://docs.pikvm.org/mouse") mode]:
+ td #[div(id="hid-outputs-mouse-box" class="radio-box")]
details
summary Keyboard &amp; Mouse (HID) settings
div(class="spoiler")