From 4029deb1bffdbafd1c995428a581f30b98e1f63f Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sat, 2 Nov 2013 08:04:17 +0100 Subject: [PATCH] rearrange login screen --- .../templates/registration/login.html | 38 ++++++++++--------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/nsupdate/accounts/templates/registration/login.html b/nsupdate/accounts/templates/registration/login.html index c7a59b5..d537664 100644 --- a/nsupdate/accounts/templates/registration/login.html +++ b/nsupdate/accounts/templates/registration/login.html @@ -2,30 +2,32 @@ {% load i18n %}{% load bootstrap %} {% block title %}{% trans "Login" %}{% endblock %} {% block content %} - -{% if form.errors %} -

{% blocktrans %}Your username and password didn't match. Please try again.{% endblocktrans %}

-{% endif %}
-
-
- {% csrf_token %} - {{ form|bootstrap }} -

Forgot your password? - Need an account?

- - - -
-
- Login with: +
+

Login with a local Account

+ {% if form.errors %} +

{% blocktrans %}Your username and password didn't match. Please try again.{% endblocktrans %}

+ {% endif %} +
+ {% csrf_token %} + {{ form|bootstrap }} +

Forgot your password? + Need an account?

+ + +
+
+
+
+
+

Login with a remote Account

    {% for backend in backends.backends %}
  • {{ backend }}
  • {% endfor %}
-
+
+
- {% endblock %}