From 086b11719100c101e89efe58862ee521c349213a Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Sat, 16 Mar 2019 22:09:04 -0700 Subject: [PATCH] style up login/logout/signup pages --- templates/account/login.html | 87 ++++++++++++++++++++++++++--------- templates/account/logout.html | 26 ++++++----- templates/account/signup.html | 62 ++++++++++++++++--------- 3 files changed, 119 insertions(+), 56 deletions(-) diff --git a/templates/account/login.html b/templates/account/login.html index 40fc16e..4fe5ee7 100644 --- a/templates/account/login.html +++ b/templates/account/login.html @@ -6,31 +6,72 @@ {% block title %}{% trans "Log in" %}{% endblock %} {% block content %} -
-
-
- {% trans "Log in to an existing account" %} - {% csrf_token %} - {{ form }} - {% if redirect_field_value %} - - {% endif %} - - {% trans "Forgot your password?" %} -
- {% if ACCOUNT_OPEN_SIGNUP %} - - {% endif %} - {% trans "Log in as guest" %} +
+ +
+
+ {% trans "Guest access" %} +
Quick access for downloading + product images and making one-off catalogs.
+ {% trans "Log in as guest" %} +
+
+ +
+
+ +
+ {% trans "Log in" %} + {% csrf_token %} + +
+
+ +
-
- {% include "account/_login_sidebar.html" %} +
+ +
+
+ +
-
+
+ +
+ + +
+ + {% if redirect_field_value %} + + {% endif %} + + +
+ +

+ + {% trans "Forgot your password?" %} +
+ {% if ACCOUNT_OPEN_SIGNUP %} + {% trans "Don't have an account?" %} {% trans "Sign up" %} + {% endif %} +
+

+ +
+
+
{% endblock %} {% block scripts %} diff --git a/templates/account/logout.html b/templates/account/logout.html index eac4c98..0c9ca9a 100644 --- a/templates/account/logout.html +++ b/templates/account/logout.html @@ -5,16 +5,18 @@ {% block title %}{% trans "Log out" %}{% endblock %} {% block content %} -
-
-
- {% trans "Log out" %} -
- {% csrf_token %} -

{% trans "Are you sure you want to log out?" %}

- -
-
-
-
+
+
+ +
+ {% trans "Log out" %} +
+ {% csrf_token %} +

{% trans "Are you sure you want to log out?" %}

+ +
+
+ +
+
{% endblock %} diff --git a/templates/account/signup.html b/templates/account/signup.html index 0f96c8a..f1196fd 100644 --- a/templates/account/signup.html +++ b/templates/account/signup.html @@ -6,27 +6,47 @@ {% block title %}{% trans "Sign up" %}{% endblock %} {% block content %} -
-
-
- {% trans "Sign up" %} - {% csrf_token %} - {{ form }} - {% if redirect_field_value %} - - {% endif %} - -
- -
-
- {% include "account/_signup_sidebar.html" %} -
-
+
+ +
+ {% trans "Sign up" %} + +
+ {% csrf_token %} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + + +
+ + {% if redirect_field_value %} + + {% endif %} + +
+ +
+
{% endblock %} {% block scripts %}