diff options
author | Maxim Devaev <[email protected]> | 2023-04-25 02:47:56 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-04-25 03:01:12 +0300 |
commit | cbf0a8b8f24c44733d57d97094075383da4381d3 (patch) | |
tree | 2e13fb59442ba3bcf2eda0684f61a997291cfb5b /web/kvm | |
parent | 987684bc82eeb692f9cce3af3aa3df2ea42d9773 (diff) |
refactoring, reverted mouse scroll mode
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 14 | ||||
-rw-r--r-- | web/kvm/navbar-system.pug | 8 |
2 files changed, 11 insertions, 11 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 44779b01..10c47d44 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -276,13 +276,6 @@ </td> <td class="value-number" id="hid-mouse-sens-value"></td> </tr> - <tr> - <td>Mouse Scroll Rate:</td> - <td class="value-slider"> - <input class="slider" type="range" id="hid-mouse-scroll-slider"> - </td> - <td class="value-number" id="hid-mouse-scroll-value"></td> - </tr> <tr class="feature-disabled" id="hid-mouse-squash"> <td>Squash relative moves:</td> <td align="right"> @@ -301,6 +294,13 @@ </div> </td> </tr> + <tr> + <td>Scroll rate:</td> + <td class="value-slider"> + <input class="slider" type="range" id="hid-mouse-scroll-slider"> + </td> + <td class="value-number" id="hid-mouse-scroll-value"></td> + </tr> </table> </div> </details> diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index fa1b47f3..717b4cf8 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -80,14 +80,14 @@ li(id="system-dropdown" class="right") td Relative sensitivity: td(class="value-slider") #[input(disabled type="range" id="hid-mouse-sens-slider" class="slider")] td(id="hid-mouse-sens-value" class="value-number") - tr - td Mouse 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(id="hid-mouse-squash" class="feature-disabled") +menu_switch_notable("hid-mouse-squash-switch", "Squash relative moves", true, true) tr +menu_switch_notable("hid-mouse-reverse-scrolling-switch", "Reverse scrolling", true, false) + tr + 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") table(class="kv") tr(id="hid-connect" class="feature-disabled") +menu_switch_notable("hid-connect-switch", "Connect HID to Server", true, true) |