From c66efb985a84a93dee6230df50c1441763abd932 Mon Sep 17 00:00:00 2001 From: iou1name Date: Wed, 25 Sep 2019 15:12:58 -0400 Subject: [PATCH] style and lighthouse score --- templates/index.html | 4 +- templates/login.html | 26 +++++++----- templates/login_key.html | 3 ++ templates/register.html | 76 +++++++++++++++++++--------------- templates/register_key.html | 20 +++++---- templates/register_result.html | 13 +++++- 6 files changed, 89 insertions(+), 53 deletions(-) diff --git a/templates/index.html b/templates/index.html index 54a5f06..018bbfa 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,10 +8,12 @@ + +
- +

Buckler

diff --git a/templates/login.html b/templates/login.html index 6abd2fa..3e9907c 100644 --- a/templates/login.html +++ b/templates/login.html @@ -2,22 +2,28 @@ Buckler - Login + + +
+

Buckler Login

-
- -
- -
- {% if login_failed %} -
  • Username and/or password incorrect
- {% endif %} - -
+
+
+ +
+ +
+ {% if login_failed %} +
  • Username and/or password incorrect
+ {% endif %} + +
+
diff --git a/templates/login_key.html b/templates/login_key.html index 87e3c14..d2da428 100644 --- a/templates/login_key.html +++ b/templates/login_key.html @@ -7,9 +7,12 @@ + +
+

Buckler Login

diff --git a/templates/register.html b/templates/register.html index a89f52d..befb5cb 100644 --- a/templates/register.html +++ b/templates/register.html @@ -2,40 +2,50 @@ Buckler - Register + + + -

Buckler Register

-
- -
- {% if errors['username'] %} -
    - {% for error in errors['username'] %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- {% if errors['email'] %} -
    - {% for error in errors['email'] %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
- -
- {% if errors['password'] %} -
    - {% for error in errors['password'] %} -
  • {{ error }}
  • - {% endfor %} -
- {% endif %} - -
+
+ +

Buckler Register

+
+
+
+
+ +
+ {% if errors['username'] %} +
    + {% for error in errors['username'] %} +
  • {{ error }}
  • + {% endfor %} +
+ {% endif %} + +
+ {% if errors['email'] %} +
    + {% for error in errors['email'] %} +
  • {{ error }}
  • + {% endfor %} +
+ {% endif %} + +
+ +
+ {% if errors['password'] %} +
    + {% for error in errors['password'] %} +
  • {{ error }}
  • + {% endfor %} +
+ {% endif %} + +
+
+
diff --git a/templates/register_key.html b/templates/register_key.html index c6cbb6f..de4400e 100644 --- a/templates/register_key.html +++ b/templates/register_key.html @@ -6,17 +6,21 @@ + + +
+ +

Register Security Key

+
-
-
-

Register Security Key

-

Upon clicking submit, your security key will begin flashing. Have it ready. -

-

-

-
+
+

Upon clicking submit, your security key will begin flashing. Have it ready. +

+ +

+

diff --git a/templates/register_result.html b/templates/register_result.html index 25ecc59..f65f530 100644 --- a/templates/register_result.html +++ b/templates/register_result.html @@ -2,8 +2,19 @@ Buckler - Register + + + - {{ message }} +
+ +

Buckler Register

+
+
+
+ {{ message }} +
+