summaryrefslogtreecommitdiffstats
path: root/templates/settings
diff options
context:
space:
mode:
Diffstat (limited to 'templates/settings')
-rw-r--r--templates/settings/_menu.html6
-rw-r--r--templates/settings/settings.html2
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/settings/_menu.html b/templates/settings/_menu.html
index e2dc70b..d85c878 100644
--- a/templates/settings/_menu.html
+++ b/templates/settings/_menu.html
@@ -11,6 +11,9 @@
<a href="#" {% if section == "login" %}class="selected"{% endif %}>
<i class="fa-solid fa-key"></i> Login &amp; Security
</a>
+ <a href="/auth/logout/">
+ <i class="fa-solid fa-right-from-bracket"></i> Logout
+ </a>
<h3>Administration</h3>
<a href="{% url "admin_basic" %}" {% if section == "basic" %}class="selected"{% endif %}>
<i class="fa-solid fa-book"></i> Basic
@@ -24,5 +27,8 @@
<a href="{% url "admin_identities" %}" {% if section == "identities" %}class="selected"{% endif %}>
<i class="fa-solid fa-id-card"></i> Identities
</a>
+ <a href="/djadmin">
+ <i class="fa-solid fa-gear"></i> Django Admin
+ </a>
{% endif %}
</nav>
diff --git a/templates/settings/settings.html b/templates/settings/settings.html
index a933627..36a6c10 100644
--- a/templates/settings/settings.html
+++ b/templates/settings/settings.html
@@ -3,7 +3,7 @@
{% block subtitle %}{{ section.title }}{% endblock %}
{% block content %}
- <form action="." method="POST">
+ <form action="." method="POST" enctype="multipart/form-data">
{% csrf_token %}
{% for title, fields in fieldsets.items %}
<fieldset>