From 05bb3371a780b3d27dcc81c0652d4e18e91ca78f Mon Sep 17 00:00:00 2001 From: shagi Date: Wed, 23 Dec 2020 16:36:00 +0100 Subject: [PATCH] style login --- gas/static/gas/css/gas.css | 14 ++++++++++++++ gas/templates/gas/login.html | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gas/static/gas/css/gas.css b/gas/static/gas/css/gas.css index 37ac71a..7d40f4d 100644 --- a/gas/static/gas/css/gas.css +++ b/gas/static/gas/css/gas.css @@ -194,3 +194,17 @@ label { .required label { 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; +} diff --git a/gas/templates/gas/login.html b/gas/templates/gas/login.html index e2dd06e..4af06e2 100644 --- a/gas/templates/gas/login.html +++ b/gas/templates/gas/login.html @@ -3,10 +3,10 @@ - Login {{ gas_title }} {% trans "Login" %} + - +
{% csrf_token %} {% form_errors form %} {% form_field form.username %}