${_('Date/Time')} | ${_('Username')} | ${_('Info')} | ${_('Hostname')} | ${_('Remote IP')} | ${_('Category')} |
---|---|---|---|---|---|
${_('No audit logs found')} | % endif <% from baruwa.model.status import CATEGORY_MAP value = 'white' %> % for item in c.page.items:|||||
${h.datetimeformat(h.format_date(item.timestamp, c.tzinfo), '%Y-%m-%d %H:%M:%S')} | ${item.username} | ${item.info} | ${item.hostname} | ${item.remoteip} | ${CATEGORY_MAP[item.category]} |
${_('Showing items %(i)d to %(l)d of %(count)d') % dict(i=c.page.first_item, l=c.page.last_item, count=c.page.item_count)}.
${_('No items found')}
% endif % if c.page.next_page != c.page.first_page and c.page.page != c.page.first_page: ${h.link_to(h.literal(''), url('status-audit-log-paged', page=1, **kwd))} ... % endif % if c.page.previous_page: ${h.link_to(h.literal(''), url('status-audit-log-paged', page=c.page.previous_page, **kwd))} % endif % for linkpage in page_nums: % if linkpage == c.page.page: ${linkpage} % else: ${h.link_to(h.literal(linkpage), url('status-audit-log-paged', page=linkpage, **kwd))} % endif % endfor % if c.page.next_page: ${h.link_to(h.literal(''), url('status-audit-log-paged', page=c.page.next_page, **kwd))} % endif % if c.page.next_page != c.page.page_count and c.page.page != c.page.page_count and c.page.page_count != 0: ... ${h.link_to(h.literal(''), url('status-audit-log-paged', page=c.page.page_count, **kwd))} % endif % if c.page.page_count != 0: