From 822e41b3948a39647759d913b79368e9fdac9889 Mon Sep 17 00:00:00 2001 From: nyx Date: Mon, 10 Mar 2025 00:40:51 -0500 Subject: [PATCH] Some HTML fixes JetBrains complained about --- app/app.py | 4 ++-- app/templates/index.j2 | 1 + app/templates/login.j2 | 3 ++- app/templates/register.j2 | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/app.py b/app/app.py index d8930ce..d8d6903 100644 --- a/app/app.py +++ b/app/app.py @@ -6,12 +6,12 @@ app = Flask(__name__) @app.route('/') def home(): - return render_template('index.j2', instanceName="nyxask.nixos.internal") + return render_template('index.j2', instanceName="nyxask.nixos.internal" instanceBranding="NyxAsk Testing Instance") @app.route('/auth/login/') def login(): - return render_template('login.j2', instanceName="nyxask.nixos.internal") + return render_template('login.j2', instanceName="nyxask.nixos.internal" instanceBranding="NyxAsk Testing Instance") @app.route('/assets/css/index.css') diff --git a/app/templates/index.j2 b/app/templates/index.j2 index 4ad1e27..24a6d65 100644 --- a/app/templates/index.j2 +++ b/app/templates/index.j2 @@ -1,6 +1,7 @@ {% from 'header.j2' import header_home %} + {{ instanceBranding }} - Home diff --git a/app/templates/login.j2 b/app/templates/login.j2 index 5eaf4eb..09beafc 100644 --- a/app/templates/login.j2 +++ b/app/templates/login.j2 @@ -1,6 +1,7 @@ {% from 'header.j2' import header_login %} + {{ instanceBranding }} - Login {{ header_login() }} @@ -15,7 +16,7 @@ name="name" size="10" />
- + + {{ instanceBranding }} - Register {{ header_login() }}