diff options
author | Devaev Maxim <[email protected]> | 2020-11-30 11:23:05 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-11-30 11:23:10 +0300 |
commit | f4a8a117c73dc21db0960c3353184d3698484ed0 (patch) | |
tree | 59ea85b01d8193a6a7cd59bc146f7f0a056bc59b /web/kvm/navbar.pug | |
parent | 58d36c8fdb72013c6b4f5c3e4609b27a8f21dab1 (diff) |
navbar change
Diffstat (limited to 'web/kvm/navbar.pug')
-rw-r--r-- | web/kvm/navbar.pug | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/web/kvm/navbar.pug b/web/kvm/navbar.pug index 4c83fc73..d345f1dd 100644 --- a/web/kvm/navbar.pug +++ b/web/kvm/navbar.pug @@ -13,16 +13,15 @@ mixin menu_message(icon, short, classes="") sup(style="line-height:1") block -mixin menu_switch(id, title) - div(class="text") - table(class="one-line-switch") - td #{title}: - td(align="right") - div(class="switch-box") - input(checked type="checkbox" id=id) - label(for=id) - span(class="switch-inner") - span(class="switch") +mixin menu_switch(id, title, enabled, checked) + table(class="kv") + td #{title}: + td(align="right") + div(class="switch-box") + input(checked=checked disabled=!enabled type="checkbox" id=id) + label(for=id) + span(class="switch-inner") + span(class="switch") ul(id="navbar") li(class="left") |