cosmectics:queue
This commit is contained in:
parent
0a37faadc7
commit
bc41329f2a
|
@ -48,7 +48,12 @@ $for torrent in torrent_list:
|
|||
name="pauseresume" value="submit" />
|
||||
</form>
|
||||
</td>
|
||||
<td>$torrent.queue</td>
|
||||
<td>
|
||||
$if (torrent.queue == -1):
|
||||
∞ <!--infinite symbol-->
|
||||
$else:
|
||||
$(torrent.queue + 1)
|
||||
</td>
|
||||
<td style="width:100px; overflow:hidden;white-space: nowrap">
|
||||
$(crop(torrent.name, 30))</td>
|
||||
<td>$fsize(torrent.total_size)</td>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
$def with (torrent)
|
||||
<table width="100%">
|
||||
<!--long values-->
|
||||
<tr><td> </td></tr>
|
||||
<!--<tr><td> </td></tr>-->
|
||||
<tr colspan="3">
|
||||
<table>
|
||||
<tr><td class="info_label">$('Name'):</td>
|
||||
|
@ -20,6 +20,12 @@ $def with (torrent)
|
|||
<tr>
|
||||
<td class="info_label"><a href="/torrent/move/$torrent.id" target="_top">$('Save Path'):</td>
|
||||
<td class="info_value" title="$torrent.save_path">$crop_left(torrent.save_path, 200)</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="info_label">$_('Private'):</td>
|
||||
<td class="info_value">$torrent.private</td>
|
||||
</tr>
|
||||
</table>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -63,7 +63,12 @@ $fspeed(torrent.download_payload_rate)</td></td></tr>
|
|||
<td class="info_value">$torrent.next_announce </td></tr>
|
||||
|
||||
<tr><td class="info_label">$_('Queue Position'):</td>
|
||||
<td class="info_value">$torrent.queue </td></tr>
|
||||
<td class="info_value">
|
||||
$if (torrent.queue == -1):
|
||||
∞ <!--infinite symbol-->
|
||||
$else:
|
||||
$(torrent.queue + 1)
|
||||
</td></tr>
|
||||
|
||||
<tr><td class="info_label">$_('Allocation'):</td>
|
||||
<td class="info_value">
|
||||
|
|
|
@ -21,7 +21,7 @@ class TorrentOptionsForm(forms.Form):
|
|||
#general
|
||||
prioritize_first_last = forms.CheckBox(
|
||||
_('Prioritize first and last pieces [TODO!]'))
|
||||
private = forms.CheckBox(_('Private'))
|
||||
#private = forms.CheckBox(_('Private'))
|
||||
|
||||
class torrent_options:
|
||||
@deco.check_session
|
||||
|
|
Loading…
Reference in New Issue