SielBotWebsite/templates/audit.html
2026-09-29 06:34:54 +02:00

27 lines
854 B
HTML

{% extends "base.html" %}
{% block title %}Protokoll{% endblock %}
{% block content %}
<h1>Protokoll</h1>
<p class="muted">Wer hat wann was im Panel gemacht (die letzten 200 Einträge).</p>
<section class="panel">
{% if entries %}
<div class="table-wrap">
<table class="table">
<thead><tr><th>Zeit</th><th>Person</th><th>Aktion</th><th>Details</th></tr></thead>
<tbody>
{% for e in entries %}
<tr>
<td class="small nowrap">{{ e.at | datetime }}</td>
<td>{{ e.name }}</td>
<td>{{ "Login" if e.action == "login" else e.action }}</td>
<td class="small muted">{{ e.detail or "" }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% else %}
<p class="muted">Noch keine Einträge.</p>
{% endif %}
</section>
{% endblock %}