40 lines
1.1 KiB
HTML
40 lines
1.1 KiB
HTML
|
|
{% extends "base.html" %}
|
|||
|
|
|
|||
|
|
{% block title %}Audit-Log – Agent Platform{% endblock %}
|
|||
|
|
|
|||
|
|
{% block content %}
|
|||
|
|
<div class="page-header">
|
|||
|
|
<h1>Audit-Log</h1>
|
|||
|
|
<p class="subtitle">{{ entries|length }} Einträge (neueste zuerst)</p>
|
|||
|
|
</div>
|
|||
|
|
|
|||
|
|
<section class="card">
|
|||
|
|
{% if entries %}
|
|||
|
|
<table class="table">
|
|||
|
|
<thead>
|
|||
|
|
<tr>
|
|||
|
|
<th>Zeitstempel</th>
|
|||
|
|
<th>Agent</th>
|
|||
|
|
<th>Aktion</th>
|
|||
|
|
<th>Target</th>
|
|||
|
|
<th>Dauer (ms)</th>
|
|||
|
|
</tr>
|
|||
|
|
</thead>
|
|||
|
|
<tbody>
|
|||
|
|
{% for entry in entries %}
|
|||
|
|
<tr>
|
|||
|
|
<td><small>{{ entry.timestamp }}</small></td>
|
|||
|
|
<td><code>{{ entry.agent_id or '-' }}</code></td>
|
|||
|
|
<td><span class="badge">{{ entry.action }}</span></td>
|
|||
|
|
<td><code>{{ entry.target or '-' }}</code></td>
|
|||
|
|
<td>{{ entry.duration_ms or '-' }}</td>
|
|||
|
|
</tr>
|
|||
|
|
{% endfor %}
|
|||
|
|
</tbody>
|
|||
|
|
</table>
|
|||
|
|
{% else %}
|
|||
|
|
<p class="empty-state">Noch keine Audit-Einträge.</p>
|
|||
|
|
{% endif %}
|
|||
|
|
</section>
|
|||
|
|
{% endblock %}
|