removed stream close confirm, added tip for msd

This commit is contained in:
Devaev Maxim
2021-04-17 11:24:16 +03:00
parent cacb12791b
commit a73295e221
4 changed files with 21 additions and 20 deletions

View File

@@ -362,6 +362,16 @@
<div class="progress" id="msd-uploading-progress"><span class="progress-value" id="msd-uploading-progress-value"></span></div>
</div>
<hr>
<table class="kv">
<tr>
<td class="value">Tip:</td>
<td>To speed up uploading, close the Stream window.</td>
</tr>
<tr>
<td></td>
<td>This will save network bandwidth.</td>
</tr>
</table>
</div>
<div class="buttons buttons-row">
<button class="row50" disabled id="msd-connect-button">Connect drive to Server</button>
@@ -489,7 +499,7 @@
</div>
</li>
</ul>
<div class="window window-resizable" id="stream-window" data-close-confirm="Do you want to close the stream? This action will temporarily stop&lt;br&gt;the video transmission until you open the broadcast again.&lt;br&gt;This can be useful for saving traffic." data-show-by-button="show-stream-button">
<div class="window window-resizable" id="stream-window" data-show-by-button="show-stream-button">
<div class="window-header" id="stream-window-header">
<div class="window-grab">Stream</div>
<button class="window-button-close">&times;</button>

View File

@@ -78,6 +78,13 @@ li(id="msd-dropdown" class="right feature-disabled")
div(id="msd-uploading-progress" class="progress")
span(id="msd-uploading-progress-value" class="progress-value")
hr
table(class="kv")
tr
td(class="value") Tip:
td To speed up uploading, close the Stream window.
tr
td
td This will save network bandwidth.
div(class="buttons buttons-row")
button(disabled id="msd-connect-button" class="row50") Connect drive to Server
button(disabled id="msd-disconnect-button" class="row25") Disconnect

View File

@@ -1,8 +1,4 @@
- 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.";
div(id="stream-window" class="window window-resizable" data-close-confirm=confirm_msg data-show-by-button="show-stream-button")
div(id="stream-window" class="window window-resizable" data-show-by-button="show-stream-button")
div(id="stream-window-header" class="window-header")
div(class="window-grab") Stream
button(class="window-button-close") &times;