f0ckv2/views/admin/sessions.html
Flummi b997c1c530
Some checks failed
fetch npm modules / f0ck the f0cker (push) Failing after 1s
remove last_action, nobody cares
2025-01-09 10:58:06 +01:00

31 lines
714 B
HTML

@include(snippets/header)
<div id="main">
<table class="table" style="width: 100%">
<thead>
<tr>
<td></td>
<td>ID</td>
<td>userid</td>
<td>user</td>
<td>browser</td>
<td>created_at</td>
<td>last_used</td>
</tr>
</thead>
<tbody>
@each(sessions as session)
<tr>
<td>{{ session.kmsi ? '&#9875;' : '' }}</td>
<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>
@endeach
</tbody>
</table>
</div>
@include(snippets/footer)