summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2024-02-16 18:49:38 +0200
committerMaxim Devaev <[email protected]>2024-02-16 18:49:38 +0200
commit22140106c481e8f6d0a0bbb081e756fa9993ee3b (patch)
tree8bf10841a8c70db3448ba9b0020eabb29095b419 /web/kvm
parent9d33bb93ea03c3a5fe9271038fc5ab91fb871f62 (diff)
web: Option to hide blue dot
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html9
-rw-r--r--web/kvm/navbar-system.pug2
2 files changed, 11 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 1e9d1ee4..75dfa34e 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -337,6 +337,15 @@
</td>
<td class="value-number" id="hid-mouse-scroll-value"></td>
</tr>
+ <tr>
+ <td>Show the blue dot:</td>
+ <td align="right">
+ <div class="switch-box">
+ <input checked type="checkbox" id="hid-mouse-dot-switch">
+ <label for="hid-mouse-dot-switch"><span class="switch-inner"></span><span class="switch"></span></label>
+ </div>
+ </td>
+ </tr>
</table>
</div>
</details>
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug
index cd8e7f26..f664feff 100644
--- a/web/kvm/navbar-system.pug
+++ b/web/kvm/navbar-system.pug
@@ -100,6 +100,8 @@ li(id="system-dropdown" class="right")
td Scroll rate:
td(class="value-slider") #[input(type="range" id="hid-mouse-scroll-slider" class="slider")]
td(id="hid-mouse-scroll-value" class="value-number")
+ tr
+ +menu_switch_notable("hid-mouse-dot-switch", "Show the blue dot", true, true)
table(class="kv")
tr(id="hid-connect" class="feature-disabled")
+menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true)