WebUI: Display torrent progress percentage in General tab

This PR adds torrent progress percentage next to pieces bar in General tab, as in the GUI.

PR #21756.
This commit is contained in:
skomerko
2024-11-09 09:03:20 +01:00
committed by GitHub
parent 06fe3e5fb0
commit 71f83cf9ba
4 changed files with 27 additions and 9 deletions

View File

@@ -1,12 +1,9 @@
<div id="propGeneral" class="propertiesTabContent invisible unselectable">
<table style="width: 100%; padding: 3px 0 3px 2px;">
<tbody>
<tr>
<td style="text-align: right; white-space: nowrap">QBT_TR(Progress:)QBT_TR[CONTEXT=PropertiesWidget]</td>
<td id="progress" style="width: 100%"></td>
</tr>
</tbody>
</table>
<div id="propProgressWrapper">
<span>QBT_TR(Progress:)QBT_TR[CONTEXT=PropertiesWidget]</span>
<span id="progress"></span>
<span id="progressPercentage"></span>
</div>
<hr>
<fieldset>
<legend><b>QBT_TR(Transfer)QBT_TR[CONTEXT=PropertiesWidget]</b></legend>