diff --git a/static/themes/django-montpellier/style.css b/static/themes/django-montpellier/style.css index 0c50b6c..a793b45 100644 --- a/static/themes/django-montpellier/style.css +++ b/static/themes/django-montpellier/style.css @@ -935,6 +935,21 @@ ul.account-management li { color: #fff; } +div.textbreak { + margin-top: 30px; + margin-bottom: 20px; + width: 100%; + height: 8px; + border-bottom: 1px solid grey; + text-align: center; +} + +div.textbreak span { + font-size: 16px; + background-color: white; + padding: 0 10px; +} + /* bits of responsive design */ @media screen and (max-width: 760px) { diff --git a/templates/authentic2/login.html b/templates/authentic2/login.html index 80a2c51..62aff18 100644 --- a/templates/authentic2/login.html +++ b/templates/authentic2/login.html @@ -8,13 +8,16 @@

Compte citoyen

-

Connexion

+

Connexion

+
{% for name, content in methods %} -{{ content|safe }} + {% if not forloop.first %} +
OU
+ {% endif %} + {{ content|safe }} {% endfor %} -

diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index dfc8608..33dccf3 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -13,6 +13,7 @@
{% include 'authentic2/form.html' with form=form %} {% for registration_frontend in registration_frontends %} +
OU
{{ registration_frontend|safe }} {% endfor %}