From ceb264b6bdfed8c51e54deed2b6132fecff3934d Mon Sep 17 00:00:00 2001
From: Karan Jayachandra
Date: Sun, 6 Jul 2025 15:13:27 +0200
Subject: Added the basic login
---
app/templates/index.j2 | 9 +++++++++
app/templates/login.j2 | 25 +++++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 app/templates/login.j2
(limited to 'app/templates')
diff --git a/app/templates/index.j2 b/app/templates/index.j2
index ce0d531..656b187 100644
--- a/app/templates/index.j2
+++ b/app/templates/index.j2
@@ -7,6 +7,15 @@
{{ navbar(url_for) }}
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+
+ {% for message in messages %}
+ - {{ message }}
+ {% endfor %}
+
+ {% endif %}
+ {% endwith %}
{{ footer() }}
+
+ {{ navbar(url_for) }}
+ Sign In
+
+ {{ footer() }}
+
+
+