Change layout for the index page

- Expanding one table doesn't force the neighbouring one to be expanded also
This commit is contained in:
Oliver Walters 2020-09-28 22:22:48 +10:00
parent 41d6ad2db9
commit e78e649aa9

View File

@ -8,41 +8,19 @@ InvenTree | Index
<h3>InvenTree</h3> <h3>InvenTree</h3>
<hr> <hr>
<div class="row"> <div class='col-sm-6'>
<div class="col-sm-6"> {% include "InvenTree/latest_parts.html" with collapse_id="latest_parts" %}
{% include "InvenTree/latest_parts.html" with collapse_id="latest_parts" %} {% include "InvenTree/bom_invalid.html" with collapse_id="bom_invalid" %}
</div> {% include "InvenTree/low_stock.html" with collapse_id="order" %}
<div class="col-sm-6"> {% include "InvenTree/po_outstanding.html" with collapse_id="po_outstanding" %}
{% include "InvenTree/starred_parts.html" with collapse_id="starred" %}
</div>
</div> </div>
<div class='col-sm-6'>
{% 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" %}
<div class="row">
<div class="col-sm-6">
{% include "InvenTree/bom_invalid.html" with collapse_id="bom_invalid" %}
</div>
<div class="col-sm-6">
{% include "InvenTree/build_pending.html" with collapse_id="build_pending" %}
</div>
</div>
<div class="row">
<div class="col-sm-6">
{% include "InvenTree/low_stock.html" with collapse_id="order" %}
</div>
<div class="col-sm-6">
{% include "InvenTree/required_stock_build.html" with collapse_id="stock_to_build" %}
</div>
</div>
<div class="row">
<div class="col-sm-6">
{% include "InvenTree/po_outstanding.html" with collapse_id="po_outstanding" %}
</div>
<div class="col-sm-6">
{% include "InvenTree/so_outstanding.html" with collapse_id="so_outstanding" %}
</div>
</div> </div>
{% endblock %} {% endblock %}