fixed gpio platform-specific switches

This commit is contained in:
Maxim Devaev
2024-10-06 20:14:07 +03:00
parent 8c0953aafc
commit 1e11678260
3 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ mixin menu_switch_notable_gpio(channel, title, confirm_off="")
td !{title}:
td(align="right")
div(class="switch-box")
input(disabled type="checkbox" id=`gpio-switch-${channel}` class="gpio-switch"
input(disabled type="checkbox" class="gpio-switch-${channel} gpio-switch"
data-channel=channel data-confirm-off=confirm_off)
label(for=`gpio-switch-${channel}`)
span(class="switch-inner")