summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-22 03:04:46 +0300
committerMaxim Devaev <[email protected]>2022-03-22 03:04:46 +0300
commit0019d84c3ed7eb24996f83b893a7af4f9561192e (patch)
treefa1e78e066ec26ddfe6addc9a2604624183fe6bb
parentc161d22dbb6c29643b472cffd732868bc4a50615 (diff)
added missing data-force-hide-menu attribute for the atx buttons
-rw-r--r--web/kvm/index.html6
-rw-r--r--web/kvm/navbar-atx.pug6
2 files changed, 6 insertions, 6 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index 092938d5..1000ddaa 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -287,10 +287,10 @@
</table>
<hr>
<div class="buttons">
- <button disabled id="atx-power-button">&bull; Click Power <sup><i>short</i></sup></button>
- <button disabled id="atx-power-button-long">&bull; Click Power <sup><i>long</i></sup></button>
+ <button disabled data-force-hide-menu id="atx-power-button">&bull; Click Power <sup><i>short</i></sup></button>
+ <button disabled data-force-hide-menu id="atx-power-button-long">&bull; Click Power <sup><i>long</i></sup></button>
<hr>
- <button disabled id="atx-reset-button">&bull; Click Reset</button>
+ <button disabled data-force-hide-menu id="atx-reset-button">&bull; Click Reset</button>
</div>
</div>
</li>
diff --git a/web/kvm/navbar-atx.pug b/web/kvm/navbar-atx.pug
index b5c16a72..4122ca88 100644
--- a/web/kvm/navbar-atx.pug
+++ b/web/kvm/navbar-atx.pug
@@ -11,7 +11,7 @@ li(id="atx-dropdown" class="right feature-disabled")
+menu_switch("atx-ask-switch", "Ask click confirmation", true, true)
hr
div(class="buttons")
- button(disabled id="atx-power-button") &bull; Click Power #[sup #[i short]]
- button(disabled id="atx-power-button-long") &bull; Click Power #[sup #[i long]]
+ button(disabled data-force-hide-menu id="atx-power-button") &bull; Click Power #[sup #[i short]]
+ button(disabled data-force-hide-menu id="atx-power-button-long") &bull; Click Power #[sup #[i long]]
hr
- button(disabled id="atx-reset-button") &bull; Click Reset
+ button(disabled data-force-hide-menu id="atx-reset-button") &bull; Click Reset