mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
auto refresh details
This commit is contained in:
parent
80318855f9
commit
c5ffbd04e8
2 changed files with 18 additions and 0 deletions
|
@ -7,6 +7,9 @@ $for id, title, image, flag, method, url, important in toolbar_items:
|
|||
$if (flag > 0) and (id != 'details'):
|
||||
$:render.part_button(method, (url + str(torrent.id)), title, 'tango/' + image)
|
||||
</div>
|
||||
<div style="width:120px;height:20px;overflow:hidden;align:left;text-align:left;padding-left:20px;">
|
||||
$:render.part_auto_refresh()
|
||||
</div>
|
||||
$for id, title, tab in detail_tabs:
|
||||
<h3>$title</h3>
|
||||
$:render[tab](torrent)
|
||||
|
|
15
deluge/ui/webui/templates/white/torrent_info.html
Normal file
15
deluge/ui/webui/templates/white/torrent_info.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
$def with (torrent)
|
||||
|
||||
$:(render.header(_(torrent.state) + '/' + torrent.name))
|
||||
<div class="panel" id="torrent_info">
|
||||
<div style="width:120px;height:20px;overflow:hidden;align:left;text-align:left;padding-left:20px;">
|
||||
$:render.part_auto_refresh()
|
||||
</div>
|
||||
$for id, title, tab in detail_tabs:
|
||||
<h3>$title</h3>
|
||||
$:render[tab](torrent)
|
||||
|
||||
<br>
|
||||
</div>
|
||||
|
||||
$:render.footer()
|
Loading…
Add table
Reference in a new issue