diff options
author | Devaev Maxim <[email protected]> | 2021-04-17 13:48:40 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-04-17 13:48:40 +0300 |
commit | 8fdc79d67995913250b1aa27f86120da4bb87480 (patch) | |
tree | a0be9a4871097427a55a62b64eb8041b2f98f5d8 /web/kvm | |
parent | 05327d602659c6de8c7f4b053581cfb609d20bfb (diff) |
using modals over full screen
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 9 | ||||
-rw-r--r-- | web/kvm/window-stream.pug | 6 |
2 files changed, 1 insertions, 14 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index b3927e7f..aa0e5fce 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -507,14 +507,7 @@ <button class="window-button-full-screen">⤢</button> </div> <div id="stream-info"></div> - <div class="stream-box-inactive" id="stream-box"> - <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.</b><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</a>.<br> - In Chrome use HTTPS and enable <i>system-keyboard-lock</i> by putting at URL <i>chrome://flags/#system-keyboard-lock</i>.<br> - More details on keyboard lock API are <a href="https://wicg.github.io/keyboard-lock/" target="_blank">here</a>. - </div><img class="stream-image-inactive" id="stream-image" src="/share/png/blank-stream.png"> - </div> + <div class="stream-box-inactive" id="stream-box"><img class="stream-image-inactive" id="stream-image" src="/share/png/blank-stream.png"></div> <div class="keypad" id="stream-mouse-buttons" align="center"> <div class="keypad-block"> <div class="keypad-row"> diff --git a/web/kvm/window-stream.pug b/web/kvm/window-stream.pug index 1b45571e..5577ab0a 100644 --- a/web/kvm/window-stream.pug +++ b/web/kvm/window-stream.pug @@ -8,12 +8,6 @@ div(id="stream-window" class="window window-resizable" data-show-by-button="show 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") |