mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 10:01:53 +08:00
* Rework of #39 patch from @arykov (thanks) * styled resize corner * fixed squashing of resizaable window on moving * keep window size and opsition after full screen * not necessary * attempt to fix desktop overflow * improved * ios fixes * refactoring
This commit is contained in:
@@ -1,10 +1,25 @@
|
||||
- let confirm_msg = "Do you want to close the stream? This action will temporarily stop<br>";
|
||||
- confirm_msg += "the video transmission until you open the broadcast again.<br>";
|
||||
- confirm_msg += "This can be useful for saving traffic.";
|
||||
+window("stream-window", "Stream", true, confirm_msg)
|
||||
|
||||
div(id="stream-window" class="window window-resizable" data-close-confirm=confirm_msg)
|
||||
div(id="stream-window-header" class="window-header")
|
||||
div(class="window-grab") Stream
|
||||
button(class="window-button-close") ×
|
||||
button(class="window-button-maximize") ☐
|
||||
button(class="window-button-full-screen") ⤢
|
||||
|
||||
div(id="stream-info")
|
||||
|
||||
div(id="stream-box" class="stream-box-inactive")
|
||||
div(class="window-lock-alert hidden")
|
||||
| #[b Failed to acquire keyboard lock.#[br]Shortcuts like Alt+Tab, Ctrl+W, Ctrl+N might not be captured.]#[br]
|
||||
| #[br]
|
||||
| For best keyboard handling use a #[a(href="https://developer.mozilla.org/en-US/docs/Web/API/Keyboard_API#Browser_compatibility") browser with keyboard lock support API].#[br]
|
||||
| In Chrome use HTTPS and enable #[i system-keyboard-lock] by putting at URL #[i chrome://flags/#system-keyboard-lock].#[br]
|
||||
| More details on keyboard lock API are #[a(href="https://wicg.github.io/keyboard-lock/" target="_blank") here].
|
||||
img(id="stream-image" class="stream-image-inactive" src=`${png_dir}/blank-stream.png`)
|
||||
|
||||
div(id="stream-mouse-buttons" class="keypad" align="center")
|
||||
div(class="keypad-block")
|
||||
div(class="keypad-row")
|
||||
|
||||
Reference in New Issue
Block a user