refactoring

This commit is contained in:
Devaev Maxim
2020-07-16 11:04:03 +03:00
parent 0d857282fe
commit 5613a7b2b5
3 changed files with 8 additions and 12 deletions

View File

@@ -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")
| ↴
div(data-dont-hide-menu class="menu")
+menu_message("warning", "Raspberry Pi's health is at risk")