more minor stuff on status bar

This commit is contained in:
Martijn Voncken 2008-02-04 21:06:02 +00:00
parent 7c0a997bbf
commit 75a626b28d
2 changed files with 11 additions and 7 deletions

View File

@ -2,7 +2,7 @@ $def with (stats)
<div class="panel" id='refresh_panel'>
[
$_('Auto refresh:')
$if getcookie('auto_refresh') == '1':
($getcookie('auto_refresh_secs')) $_('seconds') &nbsp;
@ -11,7 +11,7 @@ $if getcookie('auto_refresh') == '1':
$else:
$_('Off') &nbsp;
$:render.part_button('POST', '/refresh/on', _('Enable'), 'tango/view-refresh.png')
$#end
]
$:render.part_button('POST', '/logout', _('Logout'), 'tango/system-log-out.png')
@ -22,13 +22,13 @@ $:render.part_button('GET', '/config/', _('Settings'), 'tango/preferences-system
<!--<a href='/config'>-->
<img src="/static/images/tango/connections.png" title="$_('Connections')"> $stats.num_connections ($deluge_int(stats.max_num_connections))
<img src="/static/images/tango/connections.png" title="$_('Connections')">$stats.num_connections ($deluge_int(stats.max_num_connections))
<img src="/static/images/downloading16.png" title="$_('Down Speed')"> $stats.download_rate ($deluge_int(stats.max_download))
<img src="/static/images/downloading16.png" title="$_('Down Speed')">$stats.download_rate ($deluge_int(stats.max_download))
<img src="/static/images/seeding16.png" title="$_('Up Speed')"> $stats.upload_rate ($deluge_int(stats.max_upload))
<img src="/static/images/seeding16.png" title="$_('Up Speed')">$stats.upload_rate ($deluge_int(stats.max_upload))
<img src="/static/images/dht16.png" title="$_('DHT Nodes')"> $stats.dht_nodes
<img src="/static/images/dht16.png" title="$_('DHT Nodes')">$stats.dht_nodes

View File

@ -145,7 +145,7 @@ body.inner {
#refresh_panel {
-moz-border-radius:0px;
width:350px;
width:500px;
position:fixed;
bottom:0px;
right:0px;
@ -187,6 +187,10 @@ body.inner {
#stats_panel button:hover {
text-decoration: underline;
}
#stats_panel img{
position:relative;
top:3px;
}
#category_panel {