aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/templates/resources/admin_bar.html
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-10-21 20:51:42 +0100
committerMatthew Lemon <y@yulqen.org>2024-10-21 20:51:42 +0100
commit886aca24778b72edd89726c90783f8c32438db2c (patch)
treeecc6fceb1633b8b102b657a775e96a04436084fb /alphabetlearning/templates/resources/admin_bar.html
parent1a34a9f78641d868f7445c3f4cabbef7c563b78c (diff)
wip: have featured cards lined up on resource index page
Diffstat (limited to '')
-rw-r--r--alphabetlearning/templates/resources/admin_bar.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/alphabetlearning/templates/resources/admin_bar.html b/alphabetlearning/templates/resources/admin_bar.html
index ddb8e00..be49e65 100644
--- a/alphabetlearning/templates/resources/admin_bar.html
+++ b/alphabetlearning/templates/resources/admin_bar.html
@@ -1,20 +1,20 @@
{# admin block #}
{% if request.user.is_authenticated and request.user.is_staff %}
- <div class="row p-4 rounded border border-danger border-opacity-50 border-3">
- <h5 class="bg-primary text-white px-2 py-1 rounded">Admin bar</h5>
+ <div>
+ <h5>Admin bar</h5>
<p>
Only you will see this bar - normal users will not see it. It allows us to
include buttons for adding new resources, etc.
</p>
- <div class="col d-flex flex-column flex-md-row justify-content-between align-items-md-center">
- <a class="btn btn-primary my-2" href="{% url 'resources:create_resource' %}">Add a new resource</a>
- <div class="bg-danger p-2 my-2 text-dark bg-white border border-1 border-danger">
+ <div>
+ <a href="{% url 'resources:create_resource' %}">Add a new resource</a>
+ <div>
Logged in as
<strong>{{ request.user.email }}</strong>
</div>
<form action="{% url 'account_logout' %}" method="post" class="my-2">
{% csrf_token %}
- <button type="submit" class="btn btn-primary">Log out</button>
+ <button type="submit">Log out</button>
</form>
</div>
</div>