diff options
Diffstat (limited to 'web/kvm/navbar-health.pug')
-rw-r--r-- | web/kvm/navbar-health.pug | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/web/kvm/navbar-health.pug b/web/kvm/navbar-health.pug new file mode 100644 index 00000000..e7689704 --- /dev/null +++ b/web/kvm/navbar-health.pug @@ -0,0 +1,20 @@ +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`) + | ↴ + div(data-dont-hide-menu class="menu") + +menu_message("warning", "Raspberry Pi's health is at risk") + | This is not a drill! A red icon indicates a current issue,#[br] + | a yellow one that was observed since the device booted up + div(id="hw-health-message-undervoltage" class="hidden") + hr + +menu_message("led-undervoltage", "Undervoltage detected", "led-gray") + | Make sure your power supply and cabling are providing#[br] + | enough power to the Raspberry Pi (3A minimum) + div(id="hw-health-message-overheating" class="hidden") + hr + +menu_message("led-overheating", "Overheating detected", "led-gray") + | Frequency capping due to overheating,#[br] + | improve cooling of the Raspberry Pi |