$def with (stats)


<div class="panel"  id='stats_panel'>

    $_('Connections') : $stats.num_connections ($stats.max_num_connections)

    $_('Down Speed') : $stats.download_rate  ($stats.max_download)

    $_('Up Speed') : $stats.upload_rate  ($stats.max_upload)

    $:render.part_button('GET', '/config/', _('Settings'), 'tango/preferences-system.png')

    $:render.part_button('POST', '/logout', _('Logout'), 'tango/system-log-out.png')
</div>


