From 4f884c9abc32990b4061a1bb6997b4b37e58ea0b Mon Sep 17 00:00:00 2001 From: cyfraeviolae Date: Wed, 3 Apr 2024 03:08:50 -0400 Subject: dbg --- app.py | 2 +- templates/event.html | 148 +++++++++++++++++++++++++-------------------------- 2 files changed, 75 insertions(+), 75 deletions(-) diff --git a/app.py b/app.py index b5b67a0..5d393db 100644 --- a/app.py +++ b/app.py @@ -187,5 +187,5 @@ app = Litestar( engine=JinjaTemplateEngine, ), lifespan=[db_connection], - debug=True, + ) diff --git a/templates/event.html b/templates/event.html index 207ac87..5385308 100644 --- a/templates/event.html +++ b/templates/event.html @@ -17,84 +17,84 @@ [src] -
- {% if manage %} - Admin Management Interface -
-
- Save your admin management link. Without it, you will not be able to edit your event. -
-
- -
-
- - -
-
- {% endif %} -
- {% if manage %} - Title: - - {% else %} -

{{ event.title }}

- {% endif %} -
- {% if not manage %} - -
- {% endif %} -
- When? - {% if manage %} - - {% else %} - - {% endif %} -
-
+
+ {% if manage %} + Admin Management Interface +
+
+ Save your admin management link. Without it, you will not be able to edit your event. +
+
+ +
+
+ + +
+
+ {% endif %} + + {% if manage %} + Title: + + {% else %} +

{{ event.title }}

+ {% endif %} +
+ {% if not manage %} + +
+ {% endif %} +
+ When? + {% if manage %} + + {% else %} + + {% endif %} +
+
- Where? - {% if manage %} - - {% else %} - {{ event.location }} - {% endif %} + Where? + {% if manage %} + + {% else %} + {{ event.location }} + {% endif %} -

+

- What? -
- {% if manage %} - -
- {% else %} - {{ event.description }} -
- {% endif %} + What? +
+ {% if manage %} + +
+ {% else %} + {{ event.description }} +
+ {% endif %} -
- {% if manage %} - -
-
- {% endif %} -
- Who? -
- {% for name in event.get_invites() %} - — {{ name }} -
- {% endfor %} - {% if manage %} -
- {% else %} - - {% endif %} - - -
+
+ {% if manage %} + +
+
+ {% endif %} + + Who? +
+ {% for name in event.get_invites() %} + — {{ name }} +
+ {% endfor %} + {% if manage %} +
+ {% else %} + + {% endif %} + + +
-- cgit v1.2.3