From 8c400299562d4101a9a953b85f7e01744f14d005 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sun, 16 Aug 2020 10:35:29 +0300 Subject: Fixed pikvm/pikvm#38: Closeable stream window --- web/kvm/windows.pug | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'web/kvm/windows.pug') 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 -- cgit v1.2.3