summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-health.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-health.pug
parent0d857282fe8df38f1cddffda78487cefbf21f3a2 (diff)
refactoring
Diffstat (limited to 'web/kvm/navbar-health.pug')
-rw-r--r--web/kvm/navbar-health.pug4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/kvm/navbar-health.pug b/web/kvm/navbar-health.pug
index e7689704..277c45de 100644
--- a/web/kvm/navbar-health.pug
+++ b/web/kvm/navbar-health.pug
@@ -1,8 +1,8 @@
div(id="hw-health-dropdown" class="hidden")
li(class="left")
a(class="menu-button" href="#")
- img(data-dont-hide-menu id="hw-health-undervoltage-led" class="hidden" src=`${svg_dir}/led-undervoltage.svg`)
- img(data-dont-hide-menu id="hw-health-overheating-led" class="hidden" src=`${svg_dir}/led-overheating.svg`)
+ +navbar_led("hw-health-undervoltage-led", "led-undervoltage", "hidden")
+ +navbar_led("hw-health-overheating-led", "led-overheating", "hidden")
| &#8628;
div(data-dont-hide-menu class="menu")
+menu_message("warning", "Raspberry Pi's health is at risk")