From 23ff69aba322385148608f94806b1edc75f965bd Mon Sep 17 00:00:00 2001 From: Xevion Date: Sun, 27 Mar 2022 05:36:04 -0500 Subject: [PATCH] Replace applicable links with url_for calls --- templates/layouts/footer.html | 2 +- templates/layouts/header.html | 20 ++++++++++---------- templates/layouts/index.html | 7 ++++++- templates/pages/login.html | 2 +- templates/pages/signup.html | 2 +- 5 files changed, 19 insertions(+), 14 deletions(-) diff --git a/templates/layouts/footer.html b/templates/layouts/footer.html index 103aacf..16bbe51 100644 --- a/templates/layouts/footer.html +++ b/templates/layouts/footer.html @@ -10,6 +10,6 @@
  • WXYZ
  • diff --git a/templates/layouts/header.html b/templates/layouts/header.html index 93815f4..d8bdf1d 100644 --- a/templates/layouts/header.html +++ b/templates/layouts/header.html @@ -3,22 +3,22 @@
    {% if current_user.is_authenticated %} - Logged in as {{ current_user.username }} | Logout + Logged in as {{ current_user.username }} | Logout {% else %} - Login or Sign-up! + Login or Sign-up! {% endif %}
    diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 47307ec..190318f 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html @@ -1,5 +1,10 @@ {% extends 'layouts/base.html' %} {% block content %} -
    Hello, World!
    +
    +

    New Users

    +
    + +
    +
    {% endblock %} diff --git a/templates/pages/login.html b/templates/pages/login.html index 14c0717..dda9d5b 100644 --- a/templates/pages/login.html +++ b/templates/pages/login.html @@ -31,7 +31,7 @@

    - Don't have a login? Sign-up instead! + Don't have a login? Sign-up instead!

    {% endblock content %} diff --git a/templates/pages/signup.html b/templates/pages/signup.html index 2358cd6..a375783 100644 --- a/templates/pages/signup.html +++ b/templates/pages/signup.html @@ -34,7 +34,7 @@

    - Already have a login? Login instead! + Already have a login? Login instead!

    {% endblock content %}