diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-06 15:13:27 +0200 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2025-07-06 15:13:27 +0200 |
| commit | ceb264b6bdfed8c51e54deed2b6132fecff3934d (patch) | |
| tree | 6a403d915e96fa0b090bd362ebf6fb8048fd5de8 /app/templates/index.j2 | |
| parent | 279faac0323da94535e6ee3b82458f858ec7178a (diff) | |
Added the basic login
Diffstat (limited to 'app/templates/index.j2')
| -rw-r--r-- | app/templates/index.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
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) }} <div hx-post="/clear" hx-swap="outerHTML" hx-trigger="load"></div> <div hx-get="/control" hx-swap="outerHTML" hx-trigger="load"></div> + {% with messages = get_flashed_messages() %} + {% if messages %} + <ul> + {% for message in messages %} + <li>{{ message }}</li> + {% endfor %} + </ul> + {% endif %} + {% endwith %} {{ footer() }} </section> </body> |
