diff options
author | Devaev Maxim <[email protected]> | 2020-12-25 05:09:52 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-12-25 05:09:52 +0300 |
commit | 3ae6f3f881b4a116f962c919af8606ba32d905db (patch) | |
tree | 74e883600db81a12706df1e741b3cfb6b8c9e74b /web/kvm | |
parent | dd4c797d26bdd7107bfb748c1aced677ca083af0 (diff) |
refactoring
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 16 | ||||
-rw-r--r-- | web/kvm/navbar-macro.pug | 2 | ||||
-rw-r--r-- | web/kvm/navbar-system.pug | 6 |
3 files changed, 12 insertions, 12 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 59962dad..2c05a3b4 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -143,8 +143,8 @@ <td>Auto-resize stream window:</td> <td align="right"> <div class="switch-box"> - <input checked type="checkbox" id="stream-auto-resize-checkbox"> - <label for="stream-auto-resize-checkbox"><span class="switch-inner"></span><span class="switch"></span></label> + <input checked type="checkbox" id="stream-auto-resize-switch"> + <label for="stream-auto-resize-switch"><span class="switch-inner"></span><span class="switch"></span></label> </div> </td> </table> @@ -177,8 +177,8 @@ <td>Squash relative mouse moves:</td> <td align="right"> <div class="switch-box"> - <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> + <input checked type="checkbox" id="hid-mouse-squash-switch"> + <label for="hid-mouse-squash-switch"><span class="switch-inner"></span><span class="switch"></span></label> </div> </td> </table> @@ -189,8 +189,8 @@ <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> + <input checked type="checkbox" id="hid-connect-switch"> + <label for="hid-connect-switch"><span class="switch-inner"></span><span class="switch"></span></label> </div> </td> </table> @@ -404,8 +404,8 @@ <td>Infinite loop playback:</td> <td align="right"> <div class="switch-box"> - <input disabled type="checkbox" id="hid-recorder-loop-checkbox"> - <label for="hid-recorder-loop-checkbox"><span class="switch-inner"></span><span class="switch"></span></label> + <input disabled type="checkbox" id="hid-recorder-loop-switch"> + <label for="hid-recorder-loop-switch"><span class="switch-inner"></span><span class="switch"></span></label> </div> </td> </table> diff --git a/web/kvm/navbar-macro.pug b/web/kvm/navbar-macro.pug index d8b5c529..eb2f98f3 100644 --- a/web/kvm/navbar-macro.pug +++ b/web/kvm/navbar-macro.pug @@ -22,7 +22,7 @@ li(class="right") td(id="hid-recorder-events-count" class="value") 0 td #[sup #[i include delays]] hr - +menu_switch("hid-recorder-loop-checkbox", "Infinite loop playback", false, false) + +menu_switch("hid-recorder-loop-switch", "Infinite loop playback", false, false) hr input(type="file" id="hid-recorder-new-script-file") div(class="buttons buttons-row") diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index 03111535..cbf7ab6c 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -27,7 +27,7 @@ li(class="right") td #[input(type="range" id="stream-size-slider" class="slider")] td(id="stream-size-value" class="value" style="width: 4em") 100% hr - +menu_switch("stream-auto-resize-checkbox", "Auto-resize stream window", true, true) + +menu_switch("stream-auto-resize-switch", "Auto-resize stream window", true, true) hr div(class="buttons buttons-row") button(data-force-hide-menu id="show-stream-button" class="row33") • Show stream @@ -44,10 +44,10 @@ li(class="right") 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) + +menu_switch("hid-mouse-squash-switch", "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) + +menu_switch("hid-connect-switch", "Connect HID to Server", true, true) hr div(class="buttons buttons-row") button(data-force-hide-menu id="show-keyboard-button" class="row50") • Show keyboard |