diff --git a/templates/admin/base.html b/templates/admin/base.html index adab61c..9901cfd 100644 --- a/templates/admin/base.html +++ b/templates/admin/base.html @@ -55,6 +55,19 @@ --object-tools-bg: var(--close-button-bg); --object-tools-hover-bg: var(--close-button-hover-bg); } + + #logout { + background: none!important; + border: none; + padding: 0!important; + /*optional*/ + font-family: arial, sans-serif; + /*input has OS specific font-family*/ + color: var(--header-link-color);; + border-bottom-color: rgba(255, 255, 255, 0.25); + text-decoration: underline; + cursor: pointer; +} {% endblock %} @@ -71,5 +84,22 @@ {% if user.has_usable_password %} {% translate 'Change password' %} / {% endif %} - {% translate 'Log out' %} +
+ {% csrf_token %} + +
+ {% endblock %}