summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-system.pug
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-20 05:06:59 +0300
committerMaxim Devaev <[email protected]>2022-08-20 05:06:59 +0300
commit43fff9805942f9a4b94c12621068472e12c51cd2 (patch)
tree3e1fb29395407860fc8e764a8942dd92b0a56996 /web/kvm/navbar-system.pug
parent35363bbde8b2f24f8e9c14e041270b83bb2f3a9f (diff)
spoiler for mouse settings
Diffstat (limited to 'web/kvm/navbar-system.pug')
-rw-r--r--web/kvm/navbar-system.pug28
1 files changed, 16 insertions, 12 deletions
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index 55ec99ab..bf53fd9f 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -64,19 +64,23 @@ li(class="right")
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 Mouse settings
+ div(class="spoiler")
+ table(class="kv")
+ tr
+ td Mouse polling rate:
+ td #[input(type="range" id="hid-mouse-rate-slider" class="slider")]
+ td(id="hid-mouse-rate-value" class="value" style="min-width: 30px; max-width:30px")
+ tr(id="hid-mouse-sens" class="feature-disabled")
+ td Relative mouse sensitivity:
+ td #[input(disabled type="range" id="hid-mouse-sens-slider" class="slider")]
+ td(id="hid-mouse-sens-value" class="value" style="min-width: 30px; max-width:30px")
+ tr(id="hid-mouse-squash" class="feature-disabled")
+ +menu_switch_notable("hid-mouse-squash-switch", "Squash relative mouse moves", true, true)
+ tr
+ +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse mouse scrolling", true, false)
table(class="kv")
- tr
- td Mouse polling rate:
- td #[input(type="range" id="hid-mouse-rate-slider" class="slider")]
- td(id="hid-mouse-rate-value" class="value" style="min-width: 30px; max-width:30px")
- tr(id="hid-mouse-sens" class="feature-disabled")
- td Relative mouse sensitivity:
- td #[input(disabled type="range" id="hid-mouse-sens-slider" class="slider")]
- td(id="hid-mouse-sens-value" class="value" style="min-width: 30px; max-width:30px")
- tr(id="hid-mouse-squash" class="feature-disabled")
- +menu_switch_notable("hid-mouse-squash-switch", "Squash relative mouse moves", true, true)
- tr
- +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse mouse scrolling", true, false)
tr(id="hid-connect" class="feature-disabled")
+menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true)
tr