mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
webui:layout torrent_meta+add hash
This commit is contained in:
parent
5f4d5efa17
commit
ec1db13c32
3 changed files with 37 additions and 25 deletions
|
@ -27,14 +27,6 @@ $def with (torrent)
|
||||||
<td class="info_value">$torrent.num_pieces x $fsize(torrent.piece_length) </td>
|
<td class="info_value">$torrent.num_pieces x $fsize(torrent.piece_length) </td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr><td class="info_label">$_('Allocation'):</td>
|
|
||||||
<td class="info_value">
|
|
||||||
$if torrent.compact:
|
|
||||||
$_('Compact')
|
|
||||||
$else:
|
|
||||||
$_('Full')
|
|
||||||
</td>
|
|
||||||
|
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
</td><td width=30%%>
|
</td><td width=30%%>
|
||||||
|
@ -55,12 +47,6 @@ $fspeed(torrent.download_payload_rate)</td></td></tr>
|
||||||
<tr><td class="info_label">$_('Availability'):</td>
|
<tr><td class="info_label">$_('Availability'):</td>
|
||||||
<td class="info_value">$("%.3f" % torrent.distributed_copies)</td></td></tr>
|
<td class="info_value">$("%.3f" % torrent.distributed_copies)</td></td></tr>
|
||||||
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
<tr><td class="info_label">$_('Queue Position'):</td>
|
|
||||||
<td class="info_value">$torrent.queue </td>
|
|
||||||
</tr>
|
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</td><td width=30%%>
|
</td><td width=30%%>
|
||||||
|
@ -73,18 +59,39 @@ $fspeed(torrent.download_payload_rate)</td></td></tr>
|
||||||
<tr><td class="info_label">$_('# Of Files'):</td>
|
<tr><td class="info_label">$_('# Of Files'):</td>
|
||||||
<td class="info_value">$torrent.num_files</td></tr>
|
<td class="info_value">$torrent.num_files</td></tr>
|
||||||
|
|
||||||
<tr><td class="info_label">$_('Tracker'):</td>
|
|
||||||
<td class="info_value" title="$torrent.tracker">$(crop(torrent.tracker, 25))</td></tr>
|
|
||||||
|
|
||||||
<tr><td class="info_label">$_('Tracker Status'):</td>
|
|
||||||
<td class="info_value" title="$torrent.tracker_status">$(crop(torrent.tracker_status, 25)) </td></tr>
|
|
||||||
|
|
||||||
<tr><td class="info_label">$_('Next Announce'):</td>
|
<tr><td class="info_label">$_('Next Announce'):</td>
|
||||||
<td class="info_value">$torrent.next_announce </td></tr>
|
<td class="info_value">$torrent.next_announce </td></tr>
|
||||||
|
|
||||||
<tr><td class="info_label">$('Save Path'):</td>
|
<tr><td class="info_label">$_('Queue Position'):</td>
|
||||||
<td class="info_value" title="$torrent.save_path">$crop_left(torrent.save_path, 25)</td>
|
<td class="info_value">$torrent.queue </td></tr>
|
||||||
</tr>
|
|
||||||
</table>
|
<tr><td class="info_label">$_('Allocation'):</td>
|
||||||
|
<td class="info_value">
|
||||||
|
$if torrent.compact:
|
||||||
|
$_('Compact')
|
||||||
|
$else:
|
||||||
|
$_('Full')
|
||||||
|
</td></tr>
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
|
</tr>
|
||||||
|
<!--long values-->
|
||||||
|
<tr><td> </td></tr>
|
||||||
|
<tr colspan="3">
|
||||||
|
<table>
|
||||||
|
<tr><td class="info_label">$('Hash'):</td>
|
||||||
|
<td class="info_value">$torrent.id</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="info_label">$_('Tracker'):</td>
|
||||||
|
<td class="info_value" title="$torrent.tracker">$(crop(torrent.tracker, 200))</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td class="info_label">$_('Tracker Status'):</td>
|
||||||
|
<td class="info_value" title="$torrent.tracker_status">$(crop(torrent.tracker_status, 200)) </td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="info_label">$('Save Path'):</td>
|
||||||
|
<td class="info_value" title="$torrent.save_path">$crop_left(torrent.save_path, 200)</td>
|
||||||
|
</table>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
|
@ -212,6 +212,11 @@ div.progress_bar{
|
||||||
#torrent_info_tabs{
|
#torrent_info_tabs{
|
||||||
background-color:#B5EDBC;
|
background-color:#B5EDBC;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
td.info_label {
|
||||||
|
width:100px;
|
||||||
|
}
|
||||||
|
|
||||||
/*config:*/
|
/*config:*/
|
||||||
#config_chooser {
|
#config_chooser {
|
||||||
margin-left:20px;
|
margin-left:20px;
|
||||||
|
|
|
@ -52,7 +52,7 @@ TORRENT_KEYS = ['name', 'total_size', 'num_files', 'num_pieces', 'piece_length',
|
||||||
'total_wanted', 'tracker', 'trackers', 'tracker_status', 'save_path',
|
'total_wanted', 'tracker', 'trackers', 'tracker_status', 'save_path',
|
||||||
'files', 'file_priorities', 'compact', 'max_connections',
|
'files', 'file_priorities', 'compact', 'max_connections',
|
||||||
'max_upload_slots', 'max_download_speed', 'prioritize_first_last',
|
'max_upload_slots', 'max_download_speed', 'prioritize_first_last',
|
||||||
'private','max_upload_speed','queue','peers',
|
'private','max_upload_speed','queue','peers'
|
||||||
#builtin plugins:
|
#builtin plugins:
|
||||||
'tracker_name' #organize-plugin
|
'tracker_name' #organize-plugin
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue