webui statusbar:add space,has_incoming_connections
This commit is contained in:
parent
14c1586d77
commit
a038ca8df8
Binary file not shown.
After Width: | Height: | Size: 603 B |
|
@ -43,7 +43,7 @@ $for id, title, url in admin_pages:
|
|||
|
||||
</td><td>
|
||||
|
||||
</td><td align="right" width="500px">
|
||||
</td><td align="right">
|
||||
$:part_stats()
|
||||
</td></tr></table>
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
$def with (stats)
|
||||
|
||||
|
||||
<div id='stats_panel'>
|
||||
|
||||
|
||||
<img src="$base/static/images/tango/connections.png" title="$_('Connections')">$stats.num_connections ($deluge_int(stats.max_num_connections))
|
||||
|
||||
<img src="$base/pixmaps/downloading16.png" title="$_('Down Speed')">$stats.download_rate ($deluge_int(stats.max_download))
|
||||
|
@ -11,4 +11,11 @@ $def with (stats)
|
|||
|
||||
<img src="$base/pixmaps/dht16.png" title="$_('DHT Nodes')">$stats.dht_nodes
|
||||
|
||||
<img src="$base/static/images/tango/drive-harddisk.png" title="$_('Disk Space')">$fsize(stats.free_space)
|
||||
|
||||
$if stats.has_incoming_connections:
|
||||
$else:
|
||||
<img src="$base/pixmaps/alert16.png" title="$_('No Incoming Connections')">
|
||||
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue