summaryrefslogtreecommitdiff
path: root/web/kvm/navbar.pug
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-24 11:08:20 +0300
committerMaxim Devaev <[email protected]>2022-07-24 11:08:20 +0300
commit800da7167085250c5989a14bf10e5c70cae35674 (patch)
tree2b89e09f0fa323a0c8dcf547aa99b9d0045544ad /web/kvm/navbar.pug
parentc1f104c0592921fa24e13fa9d652b6bb1d76f79c (diff)
improved msd rw ui
Diffstat (limited to 'web/kvm/navbar.pug')
-rw-r--r--web/kvm/navbar.pug6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/kvm/navbar.pug b/web/kvm/navbar.pug
index 3974e319..9703344e 100644
--- a/web/kvm/navbar.pug
+++ b/web/kvm/navbar.pug
@@ -13,9 +13,9 @@ mixin menu_message(icon, short, classes="")
sup(style="line-height:1")
block
-mixin menu_switch_notable(id, title, enabled, checked)
- td #{title}:
- td(align="right")
+mixin menu_switch_notable(id, title, enabled, checked, classes="")
+ td(class=`${classes}`) #{title}:
+ td(class=`${classes}` align="right")
div(class="switch-box")
input(checked=checked disabled=!enabled type="checkbox" id=id)
label(for=id)