From c15d743f48487f4b0dab78471df14ffc44ba7bfd Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Thu, 1 Sep 2022 12:24:17 +0300 Subject: pikvm/pikvm#813: optional page close confirmation --- web/kvm/index.html | 9 +++++++++ web/kvm/navbar-system.pug | 2 ++ 2 files changed, 11 insertions(+) (limited to 'web/kvm') diff --git a/web/kvm/index.html b/web/kvm/index.html index 87414671..803223ac 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -318,6 +318,15 @@ + + Ask page close confirmation: + +
+ + +
+ +
diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index c415c8e9..4bf4ea77 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -96,6 +96,8 @@ li(class="right") label(for="gpio-switch-__v3_usb_breaker__") span(class="switch-inner") span(class="switch") + tr + +menu_switch_notable("page-close-ask-switch", "Ask page close confirmation", true, true) hr div(class="buttons buttons-row") button(data-force-hide-menu data-show-window="keyboard-window" class="row50") • Show keyboard -- cgit v1.2.3