summaryrefslogtreecommitdiff
path: root/web/kvm/navbar-health.pug
blob: 455f03391c9c0d665e76beee03875940961f3adf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
div(id="hw-health-dropdown" class="hidden")
	li(class="left")
		a(class="menu-button" href="#")
			+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")
				| 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

div(id="fan-health-dropdown" class="hidden")
	li(class="left")
		a(class="menu-button" href="#")
			+navbar_led("fan-health-led", "led-fan", "hidden")
		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 in the past
			div(id="fan-health-message-fail")
				hr
				+menu_message("led-fan", "Fan failed", "led-gray")
					| A fan error occured, please check the log