summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-12-02 05:01:13 +0300
committerDevaev Maxim <[email protected]>2020-12-02 05:01:13 +0300
commit7b32dc927d892c0f1eb93ceadd0b5c833dd63835 (patch)
tree73608d9fc47eec300c90f398b39401971218b489 /web/kvm
parent744fd19db95d4c7650f2e40690a7bb1cbbc97ef2 (diff)
hid outputs switch
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html25
-rw-r--r--web/kvm/navbar-system.pug13
2 files changed, 32 insertions, 6 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 01911ae1..91408ba2 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -154,14 +154,31 @@
<button class="row33" disabled data-force-hide-menu id="stream-screenshot-button">&bull; Screenshot</button>
<button class="row33" disabled id="stream-reset-button">Reset stream</button>
</div>
- <div class="feature-disabled" id="mouse-squash">
+ <div class="feature-disabled" id="hid-outputs">
+ <hr>
+ <table class="kv">
+ <tr>
+ <td>Keyboard:</td>
+ <td>
+ <div class="radio-box" id="hid-outputs-keyboard"></div>
+ </td>
+ </tr>
+ <tr>
+ <td>Mouse:</td>
+ <td>
+ <div class="radio-box" id="hid-outputs-mouse"></div>
+ </td>
+ </tr>
+ </table>
+ </div>
+ <div class="feature-disabled" id="hid-mouse-squash">
<hr>
<table class="kv">
- <td>Squash mouse moves:</td>
+ <td>Squash relative mouse moves:</td>
<td align="right">
<div class="switch-box">
- <input checked type="checkbox" id="mouse-squash-checkbox">
- <label for="mouse-squash-checkbox"><span class="switch-inner"></span><span class="switch"></span></label>
+ <input checked type="checkbox" id="hid-mouse-squash-checkbox">
+ <label for="hid-mouse-squash-checkbox"><span class="switch-inner"></span><span class="switch"></span></label>
</div>
</td>
</table>
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index eb5980ed..cb6fc79f 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -33,9 +33,18 @@ li(class="right")
button(data-force-hide-menu id="show-stream-button" class="row33") &bull; Show stream
button(disabled data-force-hide-menu id="stream-screenshot-button" class="row33") &bull; Screenshot
button(disabled id="stream-reset-button" class="row33") Reset stream
- div(id="mouse-squash" class="feature-disabled")
+ div(id="hid-outputs" class="feature-disabled")
hr
- +menu_switch("mouse-squash-checkbox", "Squash mouse moves", true, true)
+ table(class="kv")
+ tr
+ td Keyboard:
+ td #[div(id="hid-outputs-keyboard" class="radio-box")]
+ 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-checkbox", "Squash relative mouse moves", true, true)
hr
div(class="buttons buttons-row")
button(data-force-hide-menu id="show-keyboard-button" class="row50") &bull; Show keyboard