diff --git a/static/beid_image_mini.png b/static/beid_image_mini.png new file mode 100644 index 00000000..8d79ab16 Binary files /dev/null and b/static/beid_image_mini.png differ diff --git a/static/style.css b/static/style.css index 8152bab4..c47bba23 100644 --- a/static/style.css +++ b/static/style.css @@ -748,3 +748,18 @@ div#registration input[type="submit"] { width: 30em; margin: 0 auto; } + +#login-methods { + margin-top: 5em; +} + +#login-methods > div { + width: 45%; +} + +#login-beid { + position: absolute; + left: 50%; + background: url(beid_image_mini.png) top left no-repeat; + padding-top: 120px; +} diff --git a/templates/authentic2/login.html b/templates/authentic2/login.html index 81a009fd..82a6ee10 100644 --- a/templates/authentic2/login.html +++ b/templates/authentic2/login.html @@ -25,12 +25,14 @@ {% endif %} -
+
{% for name, content in methods %} +
{{ content|safe }} -{% endfor %} -
+{% endfor %} +
+

diff --git a/templates/beid/login_form.html b/templates/beid/login_form.html new file mode 100644 index 00000000..058ba270 --- /dev/null +++ b/templates/beid/login_form.html @@ -0,0 +1,12 @@ +{% load i18n beid %} + +
+

+Si vous êtes déjà inscrit, vous pouvez aussi vous connecter grâce à votre carte +d'identité électronique. Mettez-la dans son lecteur et cliquez sur le bouton +ci-dessous. +

+
+ +
+