summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-system.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-01-14 23:29:52 +0300
committerDevaev Maxim <[email protected]>2021-01-14 23:29:52 +0300
commit8a45ce9146df3aa7c53b75c08ae0a4655e013ce2 (patch)
treefbef16bc6a3438417b38822f9dd6df1fb1bc3fda /web/kvm/navbar-system.pug
parent1799e34fd009c1316c5e6a5281bba09b44b3134d (diff)
v3 usb breaker
Diffstat (limited to 'web/kvm/navbar-system.pug')
-rw-r--r--web/kvm/navbar-system.pug13
1 files changed, 13 insertions, 0 deletions
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index cbf7ab6c..26876cab 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -49,6 +49,19 @@ li(class="right")
hr
+menu_switch("hid-connect-switch", "Connect HID to Server", true, true)
hr
+ div(id="v3-usb-breaker" class="feature-disabled")
+ table(class="kv")
+ td Connect main USB to Server:
+ td(align="right")
+ div(class="switch-box")
+ -let msg = "Turning off this switch will disconnect the main USB<br>from the server."
+ -msg += " Are you sure you want to continue?"
+ input(disabled type="checkbox" id="gpio-switch-__v3_usb_breaker__" class="gpio-switch"
+ data-channel="__v3_usb_breaker__" data-confirm-off=msg)
+ label(for="gpio-switch-__v3_usb_breaker__")
+ span(class="switch-inner")
+ span(class="switch")
+ hr
div(class="buttons buttons-row")
button(data-force-hide-menu id="show-keyboard-button" class="row50") &bull; Show keyboard
button(disabled id="hid-reset-button" class="row50") Reset HID