From e78e649aa99c97e6129ff13a7106c31d7f7849a2 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 28 Sep 2020 22:22:48 +1000 Subject: [PATCH] Change layout for the index page - Expanding one table doesn't force the neighbouring one to be expanded also --- InvenTree/templates/InvenTree/index.html | 44 ++++++------------------ 1 file changed, 11 insertions(+), 33 deletions(-) diff --git a/InvenTree/templates/InvenTree/index.html b/InvenTree/templates/InvenTree/index.html index df2ae1414a..b0c2d0ae02 100644 --- a/InvenTree/templates/InvenTree/index.html +++ b/InvenTree/templates/InvenTree/index.html @@ -8,41 +8,19 @@ InvenTree | Index

InvenTree


-
-
- {% include "InvenTree/latest_parts.html" with collapse_id="latest_parts" %} -
-
- {% include "InvenTree/starred_parts.html" with collapse_id="starred" %} -
+
+ {% include "InvenTree/latest_parts.html" with collapse_id="latest_parts" %} + {% include "InvenTree/bom_invalid.html" with collapse_id="bom_invalid" %} + {% include "InvenTree/low_stock.html" with collapse_id="order" %} + {% include "InvenTree/po_outstanding.html" with collapse_id="po_outstanding" %} +
+
+ {% include "InvenTree/starred_parts.html" with collapse_id="starred" %} + {% include "InvenTree/build_pending.html" with collapse_id="build_pending" %} + {% include "InvenTree/required_stock_build.html" with collapse_id="stock_to_build" %} + {% include "InvenTree/so_outstanding.html" with collapse_id="so_outstanding" %} - -
-
- {% include "InvenTree/bom_invalid.html" with collapse_id="bom_invalid" %} -
-
- {% include "InvenTree/build_pending.html" with collapse_id="build_pending" %} -
-
- -
-
- {% include "InvenTree/low_stock.html" with collapse_id="order" %} -
-
- {% include "InvenTree/required_stock_build.html" with collapse_id="stock_to_build" %} -
-
- -
-
- {% include "InvenTree/po_outstanding.html" with collapse_id="po_outstanding" %} -
-
- {% include "InvenTree/so_outstanding.html" with collapse_id="so_outstanding" %} -
{% endblock %}