2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 11:10:54 +00:00

Added views and pages for Build model

- Edit / create
- View details
- View build index at /build/
This commit is contained in:
Oliver
2018-04-17 23:13:41 +10:00
parent 11b9fb10d8
commit 291992ab7f
16 changed files with 177 additions and 10 deletions

View File

@ -2,6 +2,33 @@
{% block content %}
<h3>Builds</h3>
<h3>Part Builds</h3>
<table class='table table-striped'>
<tr>
<th></th>
<th>Part</th>
<th>Quantity</th>
<th>Status</th>
</tr>
{% if active|length > 0 %}
<tr><td colspan="4"><b>Active Builds</b></td></tr>
{% include "build/build_list.html" with builds=active %}
{% endif %}
{% if complete|length > 0 %}
<tr></tr>
<tr><td colspan="4"><b>Completed Builds</b></td></tr>
{% include "build/build_list.html" with builds=complete %}
{% endif %}
{% if cancelled|length > 0 %}
<tr></tr>
<tr><td colspan="4"><b>Cancelled Builds</b></td></tr>
{% include "build/build_list.html" with builds=cancelled.all %}
{% endif %}
</table>
{% endblock %}