diff options
author | Devaev Maxim <[email protected]> | 2020-08-16 10:35:29 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-08-16 10:35:29 +0300 |
commit | 8c400299562d4101a9a953b85f7e01744f14d005 (patch) | |
tree | 551772cc291fec2cad18666f24fe893f475d4474 /web/kvm/windows.pug | |
parent | 2f069dbf91862d2003782ea26e158ba2c4a42d3a (diff) |
Fixed pikvm/pikvm#38: Closeable stream window
Diffstat (limited to 'web/kvm/windows.pug')
-rw-r--r-- | web/kvm/windows.pug | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/web/kvm/windows.pug b/web/kvm/windows.pug index 21e17e0a..15fdf131 100644 --- a/web/kvm/windows.pug +++ b/web/kvm/windows.pug @@ -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 |