Improved visuals of admin page login

This commit is contained in:
2025-11-19 21:53:40 +01:00
parent aa24976abb
commit 674105600e
5 changed files with 15 additions and 6 deletions

View File

@@ -7,12 +7,19 @@
{% block branding %}
<h1 id="site-name">
<a href="{% url 'admin:index' %}">
<img src="{% static 'cantorair.jpg' %}" height="60px" />
<a href="{% url 'admin:index' %}" style="color: #0b1728;">
<img src="{% static 'cantorair_blue.jpg' %}"
height="60px"
style="margin-right: 20px;"/>
</a>
</h1>
<div id="site-name"><a href="{% url 'admin:index' %}">{{ site_header|default:_('Django administration') }}</a></div>
<div id="site-name" style="align-self: center; text-align: center;">
<a href="{% url 'admin:index' %}" style="color: #0b1728;">
{{ site_header | default:_('Django administration') }}
</a>
</div>
{% if user.is_anonymous %}
{% include "admin/color_theme_toggle.html" %}
{% endif %}