refactoring

This commit is contained in:
Maxim Devaev
2024-10-18 08:28:30 +03:00
parent c1f408ea1a
commit 3852d0a456
5 changed files with 40 additions and 38 deletions

View File

@@ -17,9 +17,9 @@ 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-${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)
label(for=`gpio-switch-${channel}`)
label(for=`__gpio-switch-${channel}`)
span(class="switch-inner")
span(class="switch")