Background on login page

This commit is contained in:
Alexandre Iooss 2019-07-17 19:33:51 +02:00
parent 51ad354e0b
commit d6791d8d5e
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
3 changed files with 1535 additions and 1 deletions

View File

@ -13,7 +13,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
{% endblock %} {% endblock %}
{% block extrahead %}{{ block.super }} {% block extrahead %}{{ block.super }}
{# Load Django Admin datetime widget #} {# Load Django Admin widgets #}
<script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script> <script type="text/javascript" src="{% url 'admin:jsi18n' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script> <script type="text/javascript" src="{% static 'admin/js/core.js' %}"></script>
{{ form.media }} {{ form.media }}

View File

@ -135,6 +135,11 @@ input[type=button]:focus, .button:hover, input[type=submit]:hover, input[type=bu
text-align: center !important; text-align: center !important;
} }
/* Background on login page */
body.login {
background: #f8f8f8 url("../images/login_bg.svg") no-repeat center top !important;
}
/* Dashboard should take all page */ /* Dashboard should take all page */
.dashboard #content { .dashboard #content {
width: auto; width: auto;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 270 KiB