UI/runtime polish, session rotation limit, login errors, docs update
This commit is contained in:
@@ -411,7 +411,7 @@
|
||||
<section id="tab-stats" class="panel admin-tab" style="display:none;">
|
||||
<h3>Статистика открытий</h3>
|
||||
<div class="admin-intro">
|
||||
Здесь видно кто, когда и какой сервис открывал, а также агрегат по количеству запусков.
|
||||
Здесь видно кто, когда и какой сервис открывал, а также кто сейчас онлайн.
|
||||
</div>
|
||||
<div class="split">
|
||||
<div>
|
||||
@@ -473,6 +473,39 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top:0.8rem;">
|
||||
<div class="list-title">Сейчас онлайн (активные сессии)</div>
|
||||
<div class="container-table-wrap" style="max-height:420px;">
|
||||
<table class="admin-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>user</th>
|
||||
<th>service</th>
|
||||
<th>type</th>
|
||||
<th>container</th>
|
||||
<th>last_access</th>
|
||||
<th>created</th>
|
||||
<th>session_id</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for row in online_sessions %}
|
||||
<tr>
|
||||
<td>{{ row.username }}</td>
|
||||
<td>{{ row.service_name }} ({{ row.service_slug }})</td>
|
||||
<td>{{ row.service_type }}</td>
|
||||
<td>{{ row.container_id }}</td>
|
||||
<td>{{ row.last_access_at }}</td>
|
||||
<td>{{ row.created_at }}</td>
|
||||
<td>{{ row.id }}</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr><td colspan="7">Сейчас нет активных сессий</td></tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user