From 3ca1a1a8bd50b530663fb617cbf9e92205410336 Mon Sep 17 00:00:00 2001 From: FrederikBaerentsen Date: Sun, 14 Apr 2024 20:37:25 +0200 Subject: [PATCH] Working on better frontpage --- templates/frontpage.html | 687 ++++++++++++++++++++------------------- 1 file changed, 361 insertions(+), 326 deletions(-) diff --git a/templates/frontpage.html b/templates/frontpage.html index e839453..57bcf36 100644 --- a/templates/frontpage.html +++ b/templates/frontpage.html @@ -1,68 +1,70 @@ - - - -Set Overview - + + + + Set Overview + - - + + - + - + ---> - + - - - -
- - -
- - - - - - -
+ background-color: black; + border-color: black; + } + .button.button-clear, + .button.button-outline { + background-color: transparent; + color: black; + } + .button.button-clear { + border-color: transparent; + } + .search-container { + padding: 10px; + } + + + +
+ + +
+ + + + + + +
+
+ + +
+ +
+
+
- + {% for i in set_list %} - -
- -
- -{% for i in set_list %} - - -
-
-
-
- - Image - -
-
-
- -
- +
+
+
+
+ {{ i['set_num'] }} {{ i['name'] }} - - -

- {{ i['theme_id'] }} ({{ i['year'] }}) -

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

+ {{ i['theme_id'] }} ({{ i['year'] }}) +

+
+ {% for j in json_file[i['set_num']]['unit'] %} +
+

+ {{ j }} +

+
+ + + +
+
+ + {% endfor %} + + +
+
+
+ + {% endfor %}
+
+ - + +