pikvm/pikvm#1316: web: keep stream window maximized

This commit is contained in:
Maxim Devaev
2025-05-17 20:42:09 +03:00
parent 53980c0e68
commit 818ff6321e
14 changed files with 293 additions and 126 deletions

View File

@@ -1,9 +1,11 @@
.window.window-resizable#webterm-window(style="width: 720px; height: 480px")
.window.window-resizable#webterm-window(data-show-centered style="display: flex; min-width: 720px; min-height: 480px")
.window-header
.window-grab Terminal
button.window-button-close #[b ×]
button.window-button-maximize ☐
// Терминал глючит из-за зажимаемой клавиши ESC для выхода
// button(class="window-button-full-screen") ⤢
.window-buttons
button.window-button-original •
button.window-button-maximize ☐
button.window-button-close #[b ×]
// Терминал глючит из-за зажимаемой клавиши ESC для выхода
// button(class="window-button-full-screen") ⤢
iframe#webterm-iframe(src="" style="width: 100%; height: 100%")
iframe#webterm-iframe(src="" style="width: 100%; flex: 1")