diff options
author | Devaev Maxim <[email protected]> | 2021-05-19 10:06:50 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-19 10:06:50 +0300 |
commit | d18c27744f5a076683c0101f14a8ce5a0ac4b671 (patch) | |
tree | f095d825bf016f6252262866fede81caa4909997 /web/kvm/navbar-system.pug | |
parent | 0ab1427c286605c64751f5c8a457ed8e9429a697 (diff) |
common table for switches
Diffstat (limited to 'web/kvm/navbar-system.pug')
-rw-r--r-- | web/kvm/navbar-system.pug | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index 7548852f..3d32c260 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -48,17 +48,14 @@ li(class="right") tr td Mouse: td #[div(id="hid-outputs-mouse" class="radio-box")] - div(id="hid-mouse-squash" class="feature-disabled") - hr - +menu_switch("hid-mouse-squash-switch", "Squash relative mouse moves", true, true) - div(id="hid-connect" class="feature-disabled") - hr - +menu_switch("hid-connect-switch", "Connect HID to Server", true, true) - hr - +menu_switch("hid-mute-switch", "Mute HID input events", true, false) - hr - div(id="v3-usb-breaker" class="feature-disabled") - table(class="kv") + table(class="kv") + tr(id="hid-mouse-squash" class="feature-disabled") + +menu_switch_notable("hid-mouse-squash-switch", "Squash relative mouse moves", true, true) + tr(id="hid-connect" class="feature-disabled") + +menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true) + tr + +menu_switch_notable("hid-mute-switch", "Mute HID input events", true, false) + tr(id="v3-usb-breaker" class="feature-disabled") td Connect main USB to Server: td(align="right") div(class="switch-box") @@ -69,7 +66,7 @@ li(class="right") label(for="gpio-switch-__v3_usb_breaker__") span(class="switch-inner") span(class="switch") - hr + hr div(class="buttons buttons-row") button(data-force-hide-menu id="show-keyboard-button" class="row50") • Show keyboard button(disabled id="hid-reset-button" class="row50") Reset HID |