summaryrefslogtreecommitdiff
path: root/web/kvm/windows.pug
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-15 10:34:49 +0300
committerDevaev Maxim <[email protected]>2020-07-15 10:34:49 +0300
commit6fa59bd7a136bdda7640abb1748910aa52031a02 (patch)
tree80dacd72bd058f492bbb1a31d9e639c5b7d70621 /web/kvm/windows.pug
parent3e7315c44872995108b5512c3a9b11d48dbc0f33 (diff)
kvm pug
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") &times;
+ block
+
+include window-stream.pug
+include window-keyboard.pug
+include window-about.pug