summaryrefslogtreecommitdiff
path: root/web/kvm/navbar.pug
diff options
context:
space:
mode:
Diffstat (limited to 'web/kvm/navbar.pug')
-rw-r--r--web/kvm/navbar.pug7
1 files changed, 3 insertions, 4 deletions
diff --git a/web/kvm/navbar.pug b/web/kvm/navbar.pug
index 5d713193..3e38c93b 100644
--- a/web/kvm/navbar.pug
+++ b/web/kvm/navbar.pug
@@ -1,13 +1,12 @@
-mixin navbar_led(id, icon)
- img(data-dont-hide-menu id=id, class="led-gray" src=`${svg_dir}/${icon}.svg`)
+mixin navbar_led(id, icon, cls="led-gray")
+ img(data-dont-hide-menu id=id, class=cls src=`${svg_dir}/${icon}.svg`)
mixin menu_message(icon, short, classes="")
div(class="text")
table
tr
td(rowspan="2") #[img(class=`sign ${classes}` src=`${svg_dir}/${icon}.svg`)]
- td(style="line-height:1.5")
- | #[b #{short}]
+ td(style="line-height:1.5") #[b #{short}]
if block
tr
td