f0ckv2/views/admin_sessions.html

22 lines
531 B
HTML
Raw Normal View History

2021-05-25 12:44:35 +00:00
{{include main/header_admin}}
<table style="width: 100%;">
<tr>
<td>ID</td>
<td>userid</td>
<td>user</td>
<td>browser</td>
<td>created_at</td>
<td>last_used</td>
</tr>
{{each sessions as session}}
<tr>
<td>{{=session.id}}</td>
<td>{{=session.user_id}}</td>
<td>{{=session.user}}</td>
<td>{{=session.browser}}</td>
<td>{{=new Date(session.created_at * 1e3).toLocaleString("de-DE")}}</td>
<td>{{=new Date(session.last_used * 1e3).toLocaleString("de-DE")}}</td>
</tr>
{{/each}}
</table>
{{include main/footer}}