diff options
author | Devaev Maxim <[email protected]> | 2020-07-11 03:01:24 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-07-11 03:01:24 +0300 |
commit | 2512c6448c76a2a78dfdf96852f57e8c643b5f35 (patch) | |
tree | 20c5cff14aa7a5cc51883044511c405064582f03 /web/kvm/index.html | |
parent | 01fee4992bdc1a464a68ef10f7faf68bbba05a38 (diff) |
notify about health
Diffstat (limited to 'web/kvm/index.html')
-rw-r--r-- | web/kvm/index.html | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 77db8726..17959783 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -66,6 +66,66 @@ </a> </li> + <div id="hw-health-dropdown" class="hidden"> + <li class="menu-left-items"> + <a class="menu-item" href="#"> + <img data-dont-hide-menu id="hw-health-undervoltage-led" class="hidden" src="../share/svg/led-undervoltage.svg" /> + <img data-dont-hide-menu id="hw-health-overheating-led" class="hidden" src="../share/svg/led-overheating.svg" /> + ↴ + </a> + <div data-dont-hide-menu class="menu-item-content"> + <div class="menu-item-content-text"> + <table> + <tr> + <td><img class="sign" src="../share/svg/warning.svg" /></td> + <td> + <b>Raspberry Pi's health is at risk</b><br><br> + <sup> + This is not a drill! A red icon indicates a current issue,<br> + a yellow one that was observed since the device booted up. + </sup> + </td> + </tr> + </table> + </div> + <div id="hw-health-message-undervoltage" class="hidden"> + <hr> + <div class="menu-item-content-text"> + <table> + <tr> + <td><img class="sign led-gray" src="../share/svg/led-undervoltage.svg" /></td> + <td> + <b>Undervoltage detected</b><br><br> + <sup> + Make sure your power supply and cabling are providing<br> + enough power to the Raspberry Pi (3A minimum). + </sup> + </td> + </tr> + </table> + </div> + </div> + <div id="hw-health-message-overheating" class="hidden"> + <hr> + <div class="menu-item-content-text"> + <table> + <tr> + <td><img class="sign led-gray" src="../share/svg/led-overheating.svg" /></td> + <td> + <b>Overheating detected</b><br><br> + <sup> + Frequency capping due to overheating.<br> + Improve cooling of the Raspberry Pi. + </sup> + </td> + </tr> + </table> + </div> + </div> + </div> + </li> + </div> + <li class="menu-right-items"> <a class="menu-item" href="#"> <img data-dont-hide-menu id="link-led" class="led-gray" src="../share/svg/led-link.svg" /> |