mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
fixed pikvm/pikvm#223: confirm stream window closing
This commit is contained in:
@@ -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") ×
|
||||
|
||||
Reference in New Issue
Block a user