summaryrefslogtreecommitdiff
path: root/web/kvm/navbar.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-11-07 05:55:34 +0300
committerDevaev Maxim <[email protected]>2020-11-07 05:55:34 +0300
commitb83ba7692ae96a4d1e479f48d5194c697295719a (patch)
treed5d31bc784bf732d554e152b7468d605b6766cbd /web/kvm/navbar.pug
parentafcd6408bba3852fcfdb8a795e0baa9d8f4d1d7d (diff)
optional relative squashing
Diffstat (limited to 'web/kvm/navbar.pug')
-rw-r--r--web/kvm/navbar.pug11
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="/") &larr;&nbsp;&nbsp;