summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-25 04:40:31 +0300
committerDevaev Maxim <[email protected]>2020-12-25 04:40:31 +0300
commitdd4c797d26bdd7107bfb748c1aced677ca083af0 (patch)
tree73d5520704697feecd02973533ddfb09f0c5959b /web/kvm
parentedb967c633487c90846a6df69adb3842a91fd95c (diff)
hid connection iface
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html12
-rw-r--r--web/kvm/navbar-system.pug3
2 files changed, 15 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 1697882b..59962dad 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -183,6 +183,18 @@
</td>
</table>
</div>
+ <div class="feature-disabled" id="hid-connect">
+ <hr>
+ <table class="kv">
+ <td>Connect HID to Server:</td>
+ <td align="right">
+ <div class="switch-box">
+ <input checked type="checkbox" id="hid-connect-checkbox">
+ <label for="hid-connect-checkbox"><span class="switch-inner"></span><span class="switch"></span></label>
+ </div>
+ </td>
+ </table>
+ </div>
<hr>
<div class="buttons buttons-row">
<button class="row50" data-force-hide-menu id="show-keyboard-button">&bull; Show keyboard</button>
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index cb6fc79f..03111535 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -45,6 +45,9 @@ li(class="right")
div(id="hid-mouse-squash" class="feature-disabled")
hr
+menu_switch("hid-mouse-squash-checkbox", "Squash relative mouse moves", true, true)
+ div(id="hid-connect" class="feature-disabled")
+ hr
+ +menu_switch("hid-connect-checkbox", "Connect HID to Server", true, true)
hr
div(class="buttons buttons-row")
button(data-force-hide-menu id="show-keyboard-button" class="row50") &bull; Show keyboard