auto refresh details2

This commit is contained in:
Martijn Voncken 2008-11-05 22:10:33 +00:00
parent c5ffbd04e8
commit 65c8b04723

View file

@ -2,8 +2,10 @@ $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 class="button_bar">
$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>
$for id, title, tab in detail_tabs:
<h3>$title</h3>