mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 02:21:53 +08:00
refactoring
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user