summaryrefslogtreecommitdiffstats
path: root/templates/audit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/audit.html')
-rw-r--r--templates/audit.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/audit.html b/templates/audit.html
new file mode 100644
index 0000000..f47030e
--- /dev/null
+++ b/templates/audit.html
@@ -0,0 +1,8 @@
+{% extends "base.html" %}
+{% block content %}
+<h1>Ops</h1>
+<p class="mut">Append-only: the audit table rejects UPDATE and DELETE at the schema level (I10).</p>
+<table><tr><th>when</th><th>actor</th><th>action</th><th>entity</th><th>detail</th></tr>
+{% for a in rows %}<tr><td class="mut">{{ a.at }}</td><td>{{ a.actor_kind }}:{{ a.actor }}</td>
+<td>{{ a.action }}</td><td>{{ a.entity }} {{ a.entity_id }}</td><td><pre>{{ a.detail }}</pre></td></tr>{% endfor %}</table>
+{% endblock %}