From 7bed1685b66f126b7130e43304ad8f53f69a3aff Mon Sep 17 00:00:00 2001 From: romangraef Date: Fri, 1 Jun 2018 15:49:55 +0200 Subject: Enhanced editing and a bnit of more admin links. --- templates/base.html | 14 ++++++++++++++ templates/delete.html | 12 ++++++++++++ templates/edit_project.html | 3 +++ templates/gallery.html | 9 +++++---- templates/login.html | 2 +- templates/new.html | 1 + templates/project.html | 6 ++++++ templates/project_fields.html | 1 - 8 files changed, 42 insertions(+), 6 deletions(-) create mode 100644 templates/delete.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 99a419b..9f45c87 100644 --- a/templates/base.html +++ b/templates/base.html @@ -16,5 +16,19 @@ No content found. THIS IS AN ERROR {% endblock %} + \ No newline at end of file diff --git a/templates/delete.html b/templates/delete.html new file mode 100644 index 0000000..2641260 --- /dev/null +++ b/templates/delete.html @@ -0,0 +1,12 @@ +{% extends"base.html" %} +{% block body %} +

Do you really want to delete the project {{ project.name }}

+
+

+ + No + + +

+
+{% endblock %} \ No newline at end of file diff --git a/templates/edit_project.html b/templates/edit_project.html index fbbafdc..dc2d78e 100644 --- a/templates/edit_project.html +++ b/templates/edit_project.html @@ -7,3 +7,6 @@

{% endblock %} +{% block footer %} + • Back to project +{% endblock %} diff --git a/templates/gallery.html b/templates/gallery.html index 6f6b013..590b38b 100644 --- a/templates/gallery.html +++ b/templates/gallery.html @@ -1,13 +1,14 @@