mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-18 06:01:52 +03:00
c54271638b
Don't reload HTML on tab change. Load the entire structure once and keep the unused bits hidden. Keep also the JS code separately, one file per tab. NOTE: tabs content is not loaded. This will be fixed in the next commit.
61 lines
No EOL
3.1 KiB
HTML
61 lines
No EOL
3.1 KiB
HTML
<div id="prop_general">
|
|
<fieldset>
|
|
<legend><b>_(Transfer)</b></legend>
|
|
<table>
|
|
<tr><td style="text-align:right; padding: 4px;">_(Uploaded:)</td><td style="padding-right: 20px;" id="total_uploaded"></td><td style="text-align:right; padding: 4px;">_(UP limit:)</td><td style="padding-right: 20px;" id="up_limit"></td><td style="text-align:right; padding: 4px;">_(Share ratio:)</td><td id="share_ratio"></td></tr>
|
|
<tr><td style="text-align:right; padding: 4px;">_(Downloaded:)</td><td style="padding-right: 20px;" id="total_downloaded"></td><td style="text-align:right; padding: 4px;">_(DL limit:)</td><td style="padding-right: 20px;" id="dl_limit"></td><td style="text-align:right; padding: 4px;">_(Connections:)</td><td id="nb_connections"></td></tr>
|
|
<tr><td style="text-align:right; padding: 4px;">_(Wasted:)</td><td style="padding-right: 20px;" id="total_wasted"></td><td style="text-align:right; padding: 4px;">_(Time active:)</td><td style="padding-right: 20px;" id="time_elapsed"></td><td></td></tr>
|
|
</table>
|
|
</fieldset>
|
|
|
|
<fieldset>
|
|
<legend><b>_(Information)</b></legend>
|
|
<table>
|
|
<tr><td style="text-align:right; padding: 4px;">_(Save path:)</td><td id="save_path"></td></tr>
|
|
<tr><td style="text-align:right; padding: 4px;">_(Created on:)</td><td id="creation_date"></td></tr>
|
|
<tr><td style="text-align:right; padding: 4px;">_(Pieces size:)</td><td id="piece_size"></td></tr>
|
|
<tr><td style="text-align:right; padding: 4px;">_(Torrent hash:)</td><td id="torrent_hash"></td></tr>
|
|
<tr><td style="vertical-align: top; padding: 4px; text-align:right;">
|
|
<br/>
|
|
_(Comment:)
|
|
</td><td>
|
|
<textarea name="comment" id="comment" rows="15" cols="80">
|
|
</textarea>
|
|
</td></tr>
|
|
</table>
|
|
<br/>
|
|
</fieldset>
|
|
</div>
|
|
|
|
<div id="prop_trackers" class="invisible">
|
|
<div id="trackers">
|
|
<table class="torrentTable" cellpadding="0" cellspacing="0" style="width: 100%">
|
|
<thead>
|
|
<tr>
|
|
<th>_(URL) <img src="theme/list-add" id="addTrackersPlus"/></th>
|
|
<th style="width: 250px;">_(Status)</th>
|
|
<th style="width: 150px;">_(Peers)</th>
|
|
<th style="width: 200px;">_(Message)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="trackersTable"></tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="prop_files" class="invisible">
|
|
<div id="torrentFiles">
|
|
<table class="torrentTable" cellpadding="0" cellspacing="0" style="width: 100%">
|
|
<thead>
|
|
<tr>
|
|
<th style="width: 30px; border-right: 0"><input type="checkbox" id="tristate_cb" style="display: none;" onclick="javascript:switchCBState()" /><label id="all_files_cb" class="tristate" for="tristate_cb"></label></th>
|
|
<th>_(Name)</th>
|
|
<th style="width: 150px;">_(Size)</th>
|
|
<th style="width: 90px;">_(Progress)</th>
|
|
<th style="width: 150px; border-right: 0">_(Priority)</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="filesTable"></tbody>
|
|
</table>
|
|
</div>
|
|
</div> |