From e5e4d84a366b92f49370b45b997091117ce98969 Mon Sep 17 00:00:00 2001 From: FrederikBaerentsen Date: Thu, 21 Nov 2024 11:18:00 +0100 Subject: [PATCH] Added modal and sorting to /parts (fixed #10) --- templates/parts.html | 232 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 228 insertions(+), 4 deletions(-) diff --git a/templates/parts.html b/templates/parts.html index 81d02a4..15216a1 100644 --- a/templates/parts.html +++ b/templates/parts.html @@ -8,6 +8,180 @@ rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.0/css/bulma.min.css"> + + + + + + @@ -39,10 +213,10 @@
- +
- + @@ -54,9 +228,9 @@ {% for brick in missing_list %} {% if brick[4] == 'nil' %} - + {% else %} - + {% endif %} @@ -69,7 +243,57 @@
id part_num color_id
id: {{ brick[0] }},  color: {{ brick[2] }}, qty: {{ brick[5] }}id: {{ brick[0] }},  color: {{ brick[2] }}, qty: {{ brick[5] }}{{ brick[0] }} {{ brick[1] }}
+ +