mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
12 lines
386 B
Plaintext
12 lines
386 B
Plaintext
mixin window(id, title, closeable=true, 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(class="window-grab") #{title}
|
|
if closeable
|
|
button(class="window-button-close") ×
|
|
block
|
|
|
|
include window-stream.pug
|
|
include window-keyboard.pug
|
|
include window-about.pug
|