summaryrefslogtreecommitdiff
path: root/web/kvm
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-08-01 18:39:36 +0300
committerMaxim Devaev <[email protected]>2022-08-01 18:39:36 +0300
commit241bd6e19a889e721831764dee4386bdc6d0037f (patch)
tree3c9552bc522161ad99c1b57353908bfb24868a4d /web/kvm
parent9c5fd210f20376642854d1702f421ff7cc9b23cb (diff)
pikvm/pikvm#631: option to hide navbar
Diffstat (limited to 'web/kvm')
-rw-r--r--web/kvm/index.html4
-rw-r--r--web/kvm/window-stream.pug2
2 files changed, 5 insertions, 1 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html
index f64a5f34..8c777e31 100644
--- a/web/kvm/index.html
+++ b/web/kvm/index.html
@@ -743,10 +743,12 @@
<button class="window-button-close"><b>&times;</b></button>
<button class="window-button-maximize">&#9744;</button>
<button class="window-button-original">&bull;</button>
+ <button class="window-button-enter-full-tab">&#9650;</button>
<button class="window-button-full-screen">&#10530;</button>
</div>
<div id="stream-info"></div>
- <div class="stream-box-offline" id="stream-box"><img id="stream-image" src="/share/png/blank-stream.png">
+ <div class="stream-box-offline" id="stream-box">
+ <button class="window-button-exit-full-tab">&#9660;</button><img id="stream-image" src="/share/png/blank-stream.png">
<video class="hidden" id="stream-video" autoplay playsinline muted></video>
<div id="stream-fullscreen-active"></div>
</div>
diff --git a/web/kvm/window-stream.pug b/web/kvm/window-stream.pug
index e5ba9bf1..451a3108 100644
--- a/web/kvm/window-stream.pug
+++ b/web/kvm/window-stream.pug
@@ -7,11 +7,13 @@ div(id="stream-window" class="window window-resizable")
button(class="window-button-close") #[b &times;]
button(class="window-button-maximize") &#9744;
button(class="window-button-original") &bull;
+ button(class="window-button-enter-full-tab") &#9650;
button(class="window-button-full-screen") &#10530;
div(id="stream-info")
div(id="stream-box" class="stream-box-offline")
+ button(class="window-button-exit-full-tab") &#9660;
img(id="stream-image" src=`${png_dir}/blank-stream.png`)
video(id="stream-video" class="hidden" autoplay playsinline muted)
div(id="stream-fullscreen-active")