From a4b1e82805133a8bee79a8c48d80706aa7d27d1e Mon Sep 17 00:00:00 2001 From: FrederikBaerentsen Date: Sun, 3 Mar 2024 08:16:12 -0500 Subject: [PATCH] Added search and sorting --- templates/frontpage.html | 125 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 118 insertions(+), 7 deletions(-) diff --git a/templates/frontpage.html b/templates/frontpage.html index 18e59f4..5e6e4a8 100644 --- a/templates/frontpage.html +++ b/templates/frontpage.html @@ -29,29 +29,140 @@ height: auto; display: block; } + /* Style to display paragraphs inline */ + .grid-item p { + display: inline-block; + margin: 0; /* Remove default margin */ + } +
+ + + + + + + +
-
+
{% for i in set_list %}
Image
-

{{ i['name'] }}

-

- Set: {{ i['set_num'] }} +

{{ i['name'] }}

+

Set:

{{ i['set_num'] }}


- Year: {{ i['year'] }} +

Year:

{{ i['year'] }}


- Parts: {{ i['num_parts'] }} +

Parts:

{{ i['num_parts'] }}


- Inventory: Link

+

Inventory: Link

{% endfor %}
+