diff --git a/templates/danger/manage-db-entries.html b/templates/danger/manage-db-entries.html new file mode 100644 index 0000000..53ac12d --- /dev/null +++ b/templates/danger/manage-db-entries.html @@ -0,0 +1,111 @@ +{% extends "layouts/default.html" %} +{% block title %}Nicola Ellis & Ritherdon Archive{% endblock %} +{% block content %} +
+

Delete Database Entries

+

+ Warning: Deleting entries from the database might leave + the site's in an un-recoverable state. +

+

Archive Files

+
+ {% for item in archive-entries %} +
+ {% if roles.administrator %} +
+ + + + +
+

{{item.title}}

+ {% endif %} +
+ {% endfor %} +
+ +

Pages Files

+
+ {% for item in pages-entries %} +
+ {% if roles.administrator %} + {% if item.can-delete == 1 %} +
+ + + + +
+

{{item.title}}

+ {% endif %} + {% endif %} +
+ {% endfor %} +
+ +

Storage Files

+
+ {% for item in storage-entries %} +
+ {% if roles.administrator %} +
+ + + + +
+

{{item.name}}

+ {% endif %} +
+ {% endfor %} +
+
+{% endblock %}