summaryrefslogtreecommitdiff
path: root/web/kvm/windows.pug
diff options
context:
space:
mode:
Diffstat (limited to 'web/kvm/windows.pug')
-rw-r--r--web/kvm/windows.pug11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/kvm/windows.pug b/web/kvm/windows.pug
new file mode 100644
index 00000000..21e17e0a
--- /dev/null
+++ b/web/kvm/windows.pug
@@ -0,0 +1,11 @@
+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