diff options
author | Devaev Maxim <[email protected]> | 2021-03-06 15:50:12 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-03-06 15:50:12 +0300 |
commit | 8ee6a4a5171af145deba4a6a1a2446c723ff56d4 (patch) | |
tree | 5f2f5ba51c191fef5d010fb390965f55817cb17b /web/kvm/window-stream.pug | |
parent | ec0f98510935afb32aa342f1923516f693fbb117 (diff) |
fixed pikvm/pikvm#223: confirm stream window closing
Diffstat (limited to 'web/kvm/window-stream.pug')
-rw-r--r-- | web/kvm/window-stream.pug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/web/kvm/window-stream.pug b/web/kvm/window-stream.pug index f3493c39..84f1d4dc 100644 --- a/web/kvm/window-stream.pug +++ b/web/kvm/window-stream.pug @@ -1,4 +1,7 @@ -+window("stream-window", "Stream", true) +- 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-info") div(id="stream-box" class="stream-box-inactive") img(id="stream-image" class="stream-image-inactive" src=`${png_dir}/blank-stream.png`) |