Files
website/web/templates/admin/logs/audit.html

27 lines
504 B
HTML

{{ define "content" }}
<h2>Audit Log</h2>
<p>Recent sensitive admin events and system activity:</p>
<table>
<thead>
<tr>
<th>Time</th>
<th>User ID</th>
<th>Action</th>
<th>IP</th>
<th>User Agent</th>
</tr>
</thead>
<tbody>
{{ range .AuditLogs }}
<tr>
<td>{{ .Timestamp }}</td>
<td>{{ .UserID }}</td>
<td>{{ .Action }}</td>
<td>{{ .IP }}</td>
<td>{{ .UserAgent }}</td>
</tr>
{{ end }}
</tbody>
</table>
{{ end }}