diff --git a/deluge/ui/webui/static/images/tango/drive-harddisk.png b/deluge/ui/webui/static/images/tango/drive-harddisk.png new file mode 100644 index 000000000..5c3b8587f Binary files /dev/null and b/deluge/ui/webui/static/images/tango/drive-harddisk.png differ diff --git a/deluge/ui/webui/templates/white/header.html b/deluge/ui/webui/templates/white/header.html index 1614ced4a..af89526e0 100644 --- a/deluge/ui/webui/templates/white/header.html +++ b/deluge/ui/webui/templates/white/header.html @@ -43,7 +43,7 @@ $for id, title, url in admin_pages: - + $:part_stats() diff --git a/deluge/ui/webui/templates/white/part_stats.html b/deluge/ui/webui/templates/white/part_stats.html index e72779947..8cab5f7db 100644 --- a/deluge/ui/webui/templates/white/part_stats.html +++ b/deluge/ui/webui/templates/white/part_stats.html @@ -1,8 +1,8 @@ $def with (stats) -
+ $stats.num_connections ($deluge_int(stats.max_num_connections)) $stats.download_rate ($deluge_int(stats.max_download)) @@ -11,4 +11,11 @@ $def with (stats) $stats.dht_nodes +$fsize(stats.free_space) + +$if stats.has_incoming_connections: +$else: + + +