atx confirmation

This commit is contained in:
Maxim Devaev
2021-08-06 02:00:13 +03:00
parent ba22978d63
commit d5b59043de
3 changed files with 42 additions and 14 deletions

View File

@@ -3,11 +3,13 @@ li(id="atx-dropdown" class="right feature-disabled")
+navbar_led("atx-power-led", "led-atx-power")
+navbar_led("atx-hdd-led", "led-atx-hdd")
| ATX
div(class="menu")
div(data-dont-hide-menu class="menu")
div(class="text")
b Control the server's power#[br]
sub Use the short click for ACPI shutdown
hr
+menu_switch("atx-ask-switch", "Ask click confirmation", true, true)
hr
div(class="buttons")
button(disabled id="atx-power-button") • Click Power #[sup #[i short]]
button(disabled id="atx-power-button-long") • Click Power #[sup #[i long]]