Use all css files on login template

This commit is contained in:
Ales (Shagi) Zabala Alava 2021-05-11 18:42:34 +02:00
parent 3eeda3a82a
commit 02bf93efc8
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@ from django.views.generic import TemplateView
from gas.views import GASMixin
class GASLoginView(LoginView):
class GASLoginView(GASMixin, LoginView):
template_name = "gas/login.html"
def get_success_url(self):

View File

@ -4,7 +4,9 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>{{ gas_title }} {% trans "Login" %}</title>
<link href="{% static "gas/css/gas.css" %}" rel="stylesheet" type="text/css" />
{% for cssfile in css %}
<link href="{% static cssfile %}" rel="stylesheet" type="text/css" />
{% endfor %}
</head>
<body id="login">
<form action="." method="POST">{% csrf_token %}