diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /pyblackbird_cc/templates/resources/admin_bar.html | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'pyblackbird_cc/templates/resources/admin_bar.html')
-rw-r--r-- | pyblackbird_cc/templates/resources/admin_bar.html | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/pyblackbird_cc/templates/resources/admin_bar.html b/pyblackbird_cc/templates/resources/admin_bar.html deleted file mode 100644 index ddb8e00..0000000 --- a/pyblackbird_cc/templates/resources/admin_bar.html +++ /dev/null @@ -1,21 +0,0 @@ - {# 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> - <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"> - 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> - </form> - </div> - </div> - {% endif %} |