f0ckv2/views/admin/sessions.html

30 lines
704 B
HTML
Raw Normal View History

2021-12-29 04:48:04 +00:00
@include(snippets/header_admin)
2022-05-14 17:22:35 +00:00
<table class="table" style="width: 100%">
<thead>
2021-12-04 11:19:47 +00:00
<tr>
2022-03-24 04:14:56 +00:00
<td></td>
2021-12-04 11:19:47 +00:00
<td>ID</td>
<td>userid</td>
<td>user</td>
<td>browser</td>
<td>created_at</td>
<td>last_used</td>
<td>last_action</td>
</tr>
2022-05-14 17:22:35 +00:00
</thead>
<tbody>
2021-12-04 11:19:47 +00:00
@each(sessions as session)
<tr>
2022-03-24 04:14:56 +00:00
<td>{{ session.kmsi ? '&#9875;' : '' }}</td>
2021-12-04 11:19:47 +00:00
<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>
<td>{{ session.last_action }}</td>
</tr>
@endeach
2022-05-14 17:22:35 +00:00
</tbody>
2021-12-04 11:19:47 +00:00
</table>
2021-12-29 04:48:04 +00:00
@include(snippets/footer)