From 5f48bcb3ed524dbd20e424170136da6b6d4a2300 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Wed, 23 Mar 2022 17:49:08 -0500 Subject: Fix bug and add pretty icons --- app/routes.py | 4 ++-- app/templates/base/layout.html | 4 +--- app/templates/user/login.html | 4 ++-- app/templates/user/register.html | 6 +++--- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/app/routes.py b/app/routes.py index c1424b5..e6214dc 100644 --- a/app/routes.py +++ b/app/routes.py @@ -6,12 +6,12 @@ from tables.user import User @app.route("/", methods=["GET"]) def index(): - return render_template('base/index.html') + return render_template('index.html') @app.route("/home", methods=["GET"]) @login_required def home(): - return render_template('base/home.html') + return render_template('home.html') @app.route("/login", methods=['GET', 'POST']) def login(): diff --git a/app/templates/base/layout.html b/app/templates/base/layout.html index c539baa..0d5fe1a 100644 --- a/app/templates/base/layout.html +++ b/app/templates/base/layout.html @@ -6,6 +6,7 @@ + Strenghty 💪 @@ -13,9 +14,6 @@