2026-10-05 09:36:20 +02:00
|
|
|
<!-- retoor <retoor@molodetz.nl> -->
|
|
|
|
|
{% extends "admin/base_admin.html" %}
|
|
|
|
|
{% block admin_content %}
|
2026-10-05 11:25:41 +02:00
|
|
|
<h1>Audit log</h1>
|
2026-10-05 09:36:20 +02:00
|
|
|
<div class="table-wrap">
|
|
|
|
|
<table class="admin-table">
|
2026-10-05 11:25:41 +02:00
|
|
|
<thead><tr><th>Time</th><th>Event</th><th>Category</th><th>Actor</th><th>Result</th></tr></thead>
|
2026-10-05 09:36:20 +02:00
|
|
|
<tbody>
|
|
|
|
|
{% for row in rows %}
|
|
|
|
|
<tr><td>{{ local_dt(row.created_at) }}</td><td><code>{{ row.event_key }}</code></td><td><a href="?category={{ row.category }}">{{ row.category }}</a></td><td>{{ row.actor_kind }}</td><td><span class="status {{ 'failed' if row.result == 'denied' else 'done' }}">{{ row.result }}</span></td></tr>
|
|
|
|
|
{% else %}
|
2026-10-05 11:25:41 +02:00
|
|
|
<tr><td colspan="5" class="muted">No rows yet.</td></tr>
|
2026-10-05 09:36:20 +02:00
|
|
|
{% endfor %}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|