Use all css files on login template
This commit is contained in:
parent
3eeda3a82a
commit
02bf93efc8
|
@ -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):
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue