From dd6249d40e448c55e47f0e6430997081d3e941f8 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Sat, 4 Jul 2020 18:25:57 +0200 Subject: [PATCH] CSS tweaks --- authens/static/authens/css/authens.css | 11 ++++++++--- authens/templates/authens/pwd_reset.html | 2 +- authens/templates/authens/pwd_reset_email.txt | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/authens/static/authens/css/authens.css b/authens/static/authens/css/authens.css index bfa6bfc..b2c1d14 100644 --- a/authens/static/authens/css/authens.css +++ b/authens/static/authens/css/authens.css @@ -47,7 +47,7 @@ html, body { } .exte { - background: #749F2A; + background: #598507; color: white; } @@ -115,7 +115,7 @@ html, body { } .auth_form th { - padding: 5px 0; + padding: 10px 0; vertical-align: text-top; text-align: right; } @@ -130,7 +130,7 @@ input { font-size: 1em; } -input[type="text"], input[type="password"] { +input[type="text"], input[type="password"], input[type="email"] { border: 0; padding: 5px; width: 100%; @@ -167,4 +167,9 @@ select { .forgot-pwd { width:100%; padding: 0.5em 0px 1em; + font-size: 1.2em; +} + +.forgot-pwd > a { + color: white; } diff --git a/authens/templates/authens/pwd_reset.html b/authens/templates/authens/pwd_reset.html index 393611c..ebb521e 100644 --- a/authens/templates/authens/pwd_reset.html +++ b/authens/templates/authens/pwd_reset.html @@ -7,6 +7,6 @@ {% block content %}
- {% include "authens/form_full_snippet.html" with submit_text="Se connecter" %} + {% include "authens/form_full_snippet.html" with submit_text="Envoyer un mail" %}
{% endblock %} diff --git a/authens/templates/authens/pwd_reset_email.txt b/authens/templates/authens/pwd_reset_email.txt index a0ed323..9071193 100644 --- a/authens/templates/authens/pwd_reset_email.txt +++ b/authens/templates/authens/pwd_reset_email.txt @@ -5,7 +5,7 @@ {% block reset_link %} {{ protocol }}://{{ domain }}{% url "authens:reset.pwd.confirm" uidb64=uid token=token %} {% endblock %} -{% blocktrans with username=user.get_username %}Au cas où, votre nom d'utilisateur est le suivant : {{ username }}{% endblocktrans %} +{% blocktrans with username=user.get_username %}Pour information, votre nom d'utilisateur est le suivant : {{ username }}{% endblocktrans %} {% block signature %}{% blocktrans %}L'équipe {{site_name}}{% endblocktrans %}{% endblock %}