<!-- BEGIN resources/active_sessions.tt -->
[% META title = "Resources » Active sessions" %]
<h2>Active sessions</h2>
<table class="indent">
<tr>
<td class="borderless"></td>
<th scope="col">User ID</th>
<th scope="col">Last Access</th>
</tr>
[% FOREACH s IN sessions; # PROCESS dumper.tt dump = s;
NEXT UNLESS s.userid; # eg failed logins %]
<tr>
<td>[% loop.count %]</td>
<td>[% s.userid %]</td>
<td align="center">[% s.time.strftime('%T') %]</td>
</tr>
[% END %]
</table>
<!-- END resources/active_sessions.tt -->