diff --git a/deluge/ui/webui/webui_plugin/templates/advanced/part_stats.html b/deluge/ui/webui/webui_plugin/templates/advanced/part_stats.html index f5f297574..00a2a4548 100644 --- a/deluge/ui/webui/webui_plugin/templates/advanced/part_stats.html +++ b/deluge/ui/webui/webui_plugin/templates/advanced/part_stats.html @@ -2,7 +2,7 @@ $def with (stats)
- +[ $_('Auto refresh:') $if getcookie('auto_refresh') == '1': ($getcookie('auto_refresh_secs')) $_('seconds')   @@ -11,7 +11,7 @@ $if getcookie('auto_refresh') == '1': $else: $_('Off')   $: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 - $stats.num_connections ($deluge_int(stats.max_num_connections)) +$stats.num_connections ($deluge_int(stats.max_num_connections)) - $stats.download_rate ($deluge_int(stats.max_download)) +$stats.download_rate ($deluge_int(stats.max_download)) - $stats.upload_rate ($deluge_int(stats.max_upload)) +$stats.upload_rate ($deluge_int(stats.max_upload)) - $stats.dht_nodes +$stats.dht_nodes diff --git a/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css b/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css index a4381fd13..50f2cd2b0 100644 --- a/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css +++ b/deluge/ui/webui/webui_plugin/templates/advanced/static/advanced.css @@ -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 {