diff options
Diffstat (limited to 'web/kvm/navbar.pug')
-rw-r--r-- | web/kvm/navbar.pug | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/web/kvm/navbar.pug b/web/kvm/navbar.pug index 422cf236..4c83fc73 100644 --- a/web/kvm/navbar.pug +++ b/web/kvm/navbar.pug @@ -13,6 +13,17 @@ 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") + ul(id="navbar") li(class="left") a(id="logo" href="/") ← |