style login

This commit is contained in:
Ales (Shagi) Zabala Alava 2020-12-23 16:36:00 +01:00
parent 8683f411bb
commit 05bb3371a7
2 changed files with 16 additions and 2 deletions

View File

@ -194,3 +194,17 @@ label {
.required label { .required label {
font-weight: bold; font-weight: bold;
} }
#login {
background: #eee;
}
#login form {
border: 1px solid gray;
border-radius: 0.5em;
background: #fff;
margin: 2em auto;
width: 20em;
padding: 1em;
}

View File

@ -3,10 +3,10 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" /> <meta name="viewport" content="width=device-width" />
<title>Login</title>
<title>{{ gas_title }} {% trans "Login" %}</title> <title>{{ gas_title }} {% trans "Login" %}</title>
<link href="{% static "gas/css/gas.css" %}" rel="stylesheet" type="text/css" />
</head> </head>
<body> <body id="login">
<form action="." method="POST">{% csrf_token %} <form action="." method="POST">{% csrf_token %}
{% form_errors form %} {% form_errors form %}
{% form_field form.username %} {% form_field form.username %}