mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-02-01 18:41:54 +08:00
Fixed pikvm/pikvm#38: Closeable stream window
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
mixin window(id, title, closeable=true, with_header_id=false)
|
||||
mixin window(id, title, with_header_id=false)
|
||||
div(id=id class="window")
|
||||
div(id=(with_header_id ? `${id}-header` : "") class="window-header" style=(closeable ? "" : "z-index:1"))
|
||||
div(id=(with_header_id ? `${id}-header` : "") class="window-header")
|
||||
div(class="window-grab") #{title}
|
||||
if closeable
|
||||
button(class="window-button-close") ×
|
||||
button(class="window-button-close") ×
|
||||
block
|
||||
|
||||
include window-stream.pug
|
||||
|
||||
Reference in New Issue
Block a user