diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-04 16:46:44 +0100 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2022-01-04 16:47:06 +0100 |
commit | 3d95adfa00bfa0d9bc515d0c9c8479bccd65407b (patch) | |
tree | 1527f820304ab86200147f781f784eaa0cad1bb3 /templates | |
parent | fix disabled fields not submitting (diff) | |
download | scout-subs-3d95adfa00bfa0d9bc515d0c9c8479bccd65407b.tar.gz scout-subs-3d95adfa00bfa0d9bc515d0c9c8479bccd65407b.zip |
logout user if token expired + set password page
Diffstat (limited to '')
-rw-r--r-- | templates/registration/base_client.html | 4 | ||||
-rw-r--r-- | templates/registration/login.html | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/registration/base_client.html b/templates/registration/base_client.html index d90462c..cfb6024 100644 --- a/templates/registration/base_client.html +++ b/templates/registration/base_client.html @@ -12,6 +12,10 @@ color: {{hexcolor}} !important; } + input[type=password]:focus + label, .materialize-textarea:focus:not([readonly]) + label { + color: {{hexcolor}} !important; + } + input[type=text]:focus, .materialize-textarea:focus:not([readonly]) { border-bottom: 1px solid {{hexcolor}} !important; box-shadow: 0 1px 0 0 {{hexcolor}} !important; diff --git a/templates/registration/login.html b/templates/registration/login.html index 8a2b258..cfa4a2b 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -19,7 +19,7 @@ <br><br><hr><br> <div class="row"> <div class="col s12"> - <a href={% url 'oauth_login' %} style="width: 100%; background-color: #99BF62" class="btn waves-effect waves-light"> + <a href="{% url 'oauth_login' %}?next={{ request.GET.next }}" style="width: 100%; background-color: #99BF62" class="btn waves-effect waves-light"> <div class="row"> <div class="col s2"> <img style="height: 30px; padding-top: 3px" src="{% static 'pbs_logo.svg' %}" alt="PBS Logo"> |