more minor stuff on status bar
This commit is contained in:
parent
7c0a997bbf
commit
75a626b28d
|
@ -2,7 +2,7 @@ $def with (stats)
|
||||||
|
|
||||||
|
|
||||||
<div class="panel" id='refresh_panel'>
|
<div class="panel" id='refresh_panel'>
|
||||||
|
[
|
||||||
$_('Auto refresh:')
|
$_('Auto refresh:')
|
||||||
$if getcookie('auto_refresh') == '1':
|
$if getcookie('auto_refresh') == '1':
|
||||||
($getcookie('auto_refresh_secs')) $_('seconds')
|
($getcookie('auto_refresh_secs')) $_('seconds')
|
||||||
|
@ -11,7 +11,7 @@ $if getcookie('auto_refresh') == '1':
|
||||||
$else:
|
$else:
|
||||||
$_('Off')
|
$_('Off')
|
||||||
$:render.part_button('POST', '/refresh/on', _('Enable'), 'tango/view-refresh.png')
|
$:render.part_button('POST', '/refresh/on', _('Enable'), 'tango/view-refresh.png')
|
||||||
$#end
|
]
|
||||||
|
|
||||||
$:render.part_button('POST', '/logout', _('Logout'), 'tango/system-log-out.png')
|
$: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'>-->
|
<!--<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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -145,7 +145,7 @@ body.inner {
|
||||||
|
|
||||||
#refresh_panel {
|
#refresh_panel {
|
||||||
-moz-border-radius:0px;
|
-moz-border-radius:0px;
|
||||||
width:350px;
|
width:500px;
|
||||||
position:fixed;
|
position:fixed;
|
||||||
bottom:0px;
|
bottom:0px;
|
||||||
right:0px;
|
right:0px;
|
||||||
|
@ -187,6 +187,10 @@ body.inner {
|
||||||
#stats_panel button:hover {
|
#stats_panel button:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
#stats_panel img{
|
||||||
|
position:relative;
|
||||||
|
top:3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#category_panel {
|
#category_panel {
|
||||||
|
|
Loading…
Reference in New Issue