${forms.form()}
${forms.select_filter()}\
${_('#')} |
${_('IP address')} |
${_('Hostname')} |
${_('Country')} |
${_('Total')} |
${_('Volume')} |
% for i, item in enumerate(c.top_items):
<% counter = i + 1 %>
${counter}. |
${item.address.strip()} |
${h.get_hostname(item.address.strip())} |
${h.country_flag(item.address.strip())} |
${item.count} |
${h.format_byte_size(item.size)} |
% endfor
% if not c.top_items:
${_('No items found')} |
% endif
% if c.top_items:
}.png)
% endif
<%def name="headers()">\
%def>
<%def name="title()">${_('Reports :: %(t)s') % dict(t=c.report_title)}%def>
<%def name="heading()">${_('Reports :: %(t)s') % dict(t=c.report_title)}%def>
<%def name="localscripts()">
${h.javascript_link(h.media_url() + 'js/jquery.clearform.min.js',
h.media_url() + 'js/baruwa/reports.common.js',
h.media_url() + 'js/baruwa/reports.relays.js')}
%def>
<%namespace name="forms" file="/reports/form.html"/>
<%inherit file="/base.html"/>