Molodetz blogrol volgens DPP-template

This commit is contained in:
2026-10-05 09:36:20 +02:00
commit f290a4c766
277 changed files with 15758 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<!-- retoor <retoor@molodetz.nl> -->
{% extends "admin/base_admin.html" %}
{% block admin_content %}
<h1>Prullenbak</h1>
<div class="table-wrap">
<table class="admin-table">
<thead><tr><th>Soort</th><th>Item</th><th>Verwijderd</th><th>Door</th><th></th></tr></thead>
<tbody>
{% for item in items %}
<tr>
<td>{{ item.table }}</td>
<td>{{ item.label }}</td>
<td>{{ local_dt(item.deleted_at) }}</td>
<td>{{ item.deleted_by }}</td>
<td class="actions">
<form method="post" action="/admin/trash/restore"><input type="hidden" name="stamp" value="{{ item.deleted_at }}"><button class="button ghost small" type="submit">Herstellen</button></form>
<form method="post" action="/admin/trash/purge" data-confirm="Definitief verwijderen? Dit kan niet ongedaan worden gemaakt."><input type="hidden" name="stamp" value="{{ item.deleted_at }}"><button class="button danger small" type="submit">Definitief</button></form>
</td>
</tr>
{% else %}
<tr><td colspan="5" class="muted">De prullenbak is leeg.</td></tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}