diff options
author | Maxim Devaev <[email protected]> | 2024-11-03 18:28:28 +0200 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2024-11-03 18:28:28 +0200 |
commit | d93639ba8dcd003f82221f4ed99159755f2213c3 (patch) | |
tree | cc3291955215ec1455f26922f50de27563d47a5f /web/kvm | |
parent | 1e277c0f06f25e67a35a1b2910ed59333f97f6c0 (diff) |
hid with granularity prototype
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 32 | ||||
-rw-r--r-- | web/kvm/navbar-system.pug | 17 |
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">• 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 & 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") • Show stream button(data-force-hide-menu id="stream-screenshot-button" class="row33") • 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 & Mouse (HID) settings div(class="spoiler") |