set avatar

This commit is contained in:
Flummi
2022-03-29 14:34:00 +02:00
parent 982ddce087
commit 4fff49ff5d
2 changed files with 14 additions and 11 deletions

View File

@ -26,23 +26,25 @@
<table class="table">
<thead>
<tr>
<th></th>
<th>id</th>
<th>created_at</th>
<th>last_used</th>
<th>last_action</th>
<th>&nbsp;</th>
<th>id</th>
<th>&nbsp;</th>
<th>last action</th>
</tr>
</thead>
<tbody>
@each(sessions as sess)
<tr@if(sess.id === session.sess_id) style="background-color: rgb(0, 89, 0)"@endif>
<td>{{ sess.kmsi ? '&#9875;' : '' }}</td>
<td tooltip="{{ sess.browser }}" flow="right">{{ sess.id }}</td>
<td>{{ new Date(sess.created_at * 1e3).toLocaleString("de-DE") }}</td>
<td>{{ new Date(sess.last_used * 1e3).toLocaleString("de-DE") }}</td>
<td tooltip="{{ sess.browser }}" flow="right">
<p>{{ sess.id }}</p>
<p><a href="#" onclick="alert('not yet implemented!');">logout</a></p>
</td>
<td>
<p>last_used: {{ new Date(sess.last_used * 1e3).toLocaleString("de-DE") }}</p>
<p>created_at: {{ new Date(sess.created_at * 1e3).toLocaleString("de-DE") }}</p>
</td>
<td><a href="{{ sess.last_action }}" target="_blank">{{ sess.last_action }}</a></td>
<td><a href="#" onclick="alert('not yet implemented!');">logout</a></td>
</tr>
@endeach
</tbody>