summaryrefslogtreecommitdiff
path: root/web/kvm/navbar.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-16 11:04:03 +0300
committerDevaev Maxim <[email protected]>2020-07-16 11:04:03 +0300
commit5613a7b2b5774a3d2b9773dd68880140f8e89d31 (patch)
treeada18371321ac99ef4f78f1624fb55b7ea4d92fd /web/kvm/navbar.pug
parent0d857282fe8df38f1cddffda78487cefbf21f3a2 (diff)
refactoring
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