mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
fixed platform gpio again
This commit is contained in:
parent
b6869cfbec
commit
5b0ca351d7
@ -396,7 +396,7 @@
|
|||||||
<td>Connect main USB to Server:</td>
|
<td>Connect main USB to Server:</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<div class="switch-box">
|
<div class="switch-box">
|
||||||
<input class="gpio-switch-${channel} gpio-switch" disabled type="checkbox" data-channel="__v3_usb_breaker__" data-confirm-off="Turning off this switch will disconnect the main USB<br>from the server. Are you sure you want to continue?">
|
<input class="gpio-switch-__v3_usb_breaker__ gpio-switch" disabled type="checkbox" id="gpio-switch-__v3_usb_breaker__" data-channel="__v3_usb_breaker__" data-confirm-off="Turning off this switch will disconnect the main USB<br>from the server. Are you sure you want to continue?">
|
||||||
<label for="gpio-switch-__v3_usb_breaker__"><span class="switch-inner"></span><span class="switch"></span></label>
|
<label for="gpio-switch-__v3_usb_breaker__"><span class="switch-inner"></span><span class="switch"></span></label>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@ -405,7 +405,7 @@
|
|||||||
<td>Enable locator LED:</td>
|
<td>Enable locator LED:</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<div class="switch-box">
|
<div class="switch-box">
|
||||||
<input class="gpio-switch-${channel} gpio-switch" disabled type="checkbox" data-channel="__v4_locator__" data-confirm-off="">
|
<input class="gpio-switch-__v4_locator__ gpio-switch" disabled type="checkbox" id="gpio-switch-__v4_locator__" data-channel="__v4_locator__" data-confirm-off="">
|
||||||
<label for="gpio-switch-__v4_locator__"><span class="switch-inner"></span><span class="switch"></span></label>
|
<label for="gpio-switch-__v4_locator__"><span class="switch-inner"></span><span class="switch"></span></label>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -17,7 +17,7 @@ mixin menu_switch_notable_gpio(channel, title, confirm_off="")
|
|||||||
td !{title}:
|
td !{title}:
|
||||||
td(align="right")
|
td(align="right")
|
||||||
div(class="switch-box")
|
div(class="switch-box")
|
||||||
input(disabled type="checkbox" class="gpio-switch-${channel} gpio-switch"
|
input(disabled type="checkbox" id=`gpio-switch-${channel}` class=`gpio-switch-${channel} gpio-switch`
|
||||||
data-channel=channel data-confirm-off=confirm_off)
|
data-channel=channel data-confirm-off=confirm_off)
|
||||||
label(for=`gpio-switch-${channel}`)
|
label(for=`gpio-switch-${channel}`)
|
||||||
span(class="switch-inner")
|
span(class="switch-inner")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user