summaryrefslogtreecommitdiff
path: root/web/kvm/windows.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-03-06 15:50:12 +0300
committerDevaev Maxim <[email protected]>2021-03-06 15:50:12 +0300
commit8ee6a4a5171af145deba4a6a1a2446c723ff56d4 (patch)
tree5f2f5ba51c191fef5d010fb390965f55817cb17b /web/kvm/windows.pug
parentec0f98510935afb32aa342f1923516f693fbb117 (diff)
fixed pikvm/pikvm#223: confirm stream window closing
Diffstat (limited to 'web/kvm/windows.pug')
-rw-r--r--web/kvm/windows.pug4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/kvm/windows.pug b/web/kvm/windows.pug
index 15fdf131..d735b65d 100644
--- a/web/kvm/windows.pug
+++ b/web/kvm/windows.pug
@@ -1,5 +1,5 @@
-mixin window(id, title, with_header_id=false)
- div(id=id class="window")
+mixin window(id, title, with_header_id=false, close_confirm_msg="")
+ div(id=id class="window" data-close-confirm=close_confirm_msg)
div(id=(with_header_id ? `${id}-header` : "") class="window-header")
div(class="window-grab") #{title}
button(class="window-button-close") &times;