From 96adf1e87d18f3c91cbcd58728e4a8c843a21b96 Mon Sep 17 00:00:00 2001 From: Chris Jean-Marie Date: Mon, 4 Nov 2024 18:50:53 +0000 Subject: [PATCH] Additional layout changes for better phone usability --- backend/templates/authorized.html | 47 +++++++++++++++-------------- backend/templates/dashboard.html | 1 - backend/templates/userwishlist.html | 6 +++- 3 files changed, 29 insertions(+), 25 deletions(-) diff --git a/backend/templates/authorized.html b/backend/templates/authorized.html index 1c8500a..7650462 100644 --- a/backend/templates/authorized.html +++ b/backend/templates/authorized.html @@ -1,28 +1,29 @@ {% extends "base.html" %} {% block content %} -
-
- -
- {% block center %}{% endblock center %} -
-
- -

Events

-
+
+ + + + +
+ {% block center %}{% endblock center %} +
+ + +
+

Events

{% endblock content %} \ No newline at end of file diff --git a/backend/templates/dashboard.html b/backend/templates/dashboard.html index 7f9e9ea..2321b8f 100644 --- a/backend/templates/dashboard.html +++ b/backend/templates/dashboard.html @@ -1,6 +1,5 @@ {% extends "authorized.html" %} {% block center %} -

This will be the private information area for the extended Jean-Marie family.

Web links

TLC Creations

diff --git a/backend/templates/userwishlist.html b/backend/templates/userwishlist.html index 30cec6f..bddf69f 100644 --- a/backend/templates/userwishlist.html +++ b/backend/templates/userwishlist.html @@ -29,7 +29,11 @@ {% else %} {{ user_wishlist_item.item }} {% endif %} - URL + {% if user_wishlist_item.item_url.len() > 0 %} + URL + {% else %} + + {% endif %} {% if user_wishlist_item.received_at > 0 %} Got it! {% else %}