From 597a67f1d4c0a9b77d351cc1e1fe07f53d9f388d Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 1 Sep 2024 19:55:34 +0100 Subject: Drop shadows on the featured and standard resource panels --- pyblackbird_cc/templates/resources/admin_bar.html | 29 +++++++++-------------- 1 file changed, 11 insertions(+), 18 deletions(-) (limited to 'pyblackbird_cc/templates/resources/admin_bar.html') diff --git a/pyblackbird_cc/templates/resources/admin_bar.html b/pyblackbird_cc/templates/resources/admin_bar.html index 5bddde6..ddb8e00 100644 --- a/pyblackbird_cc/templates/resources/admin_bar.html +++ b/pyblackbird_cc/templates/resources/admin_bar.html @@ -1,28 +1,21 @@ {# admin block #} {% if request.user.is_authenticated and request.user.is_staff %} -
-
Admin bar
+
+
Admin bar

Only you will see this bar - normal users will not see it. It allows us to include buttons for adding new resources, etc.

-
-
- -
- Logged in as - {{ request.user.email }} -
-
-
- {% csrf_token %} - -
-
+
+ Add a new resource +
+ Logged in as + {{ request.user.email }}
+
+ {% csrf_token %} + +
{% endif %} -- cgit v1.2.3