From 51eb6bddf66399fb098014ee2b88711b57b15c09 Mon Sep 17 00:00:00 2001 From: Chris Arderne Date: Wed, 3 Apr 2024 10:40:13 +0100 Subject: [PATCH] improve basic CSS, add cover image --- cps/templates/basic_detail.html | 4 ++ cps/templates/basic_layout.html | 101 ++++++++++++++++++++++++++++---- 2 files changed, 92 insertions(+), 13 deletions(-) diff --git a/cps/templates/basic_detail.html b/cps/templates/basic_detail.html index c3c358e2..1996497b 100644 --- a/cps/templates/basic_detail.html +++ b/cps/templates/basic_detail.html @@ -10,6 +10,10 @@ {% endfor %} +
+ +
+ {% if current_user.role_download() %} {% if entry.data|length %}
diff --git a/cps/templates/basic_layout.html b/cps/templates/basic_layout.html index eb990b8f..01ffbfc0 100644 --- a/cps/templates/basic_layout.html +++ b/cps/templates/basic_layout.html @@ -1,16 +1,86 @@ - - {{instance}} | {{title}} - - - - + + +{{instance}} | {{title}} + + + + + + +
-
- {% if current_user.is_authenticated or g.allow_anonymous %} + {% if current_user.is_authenticated or g.allow_anonymous %} + + {% endif %}
- {% block body %}{% endblock %} - +
+
+ {% block body %} + {% endblock %} +
+ +