mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Part view updates
This commit is contained in:
parent
ce30cd7b4d
commit
deccdce6d9
@ -6,12 +6,20 @@
|
|||||||
|
|
||||||
<h3>Part Stock</h3>
|
<h3>Part Stock</h3>
|
||||||
|
|
||||||
|
<div class='row'>
|
||||||
|
<div class='col-sm-6'>
|
||||||
|
<h3>Part Stock</h3>
|
||||||
|
</div>
|
||||||
|
<div class='col-sm-6'>
|
||||||
|
<h3>
|
||||||
|
<button style='float: right;' class='btn btn-success' id='add-stock-item'>Add new Stock Item</button>
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed' id='stock-table'>
|
<table class='table table-striped table-condensed' id='stock-table'>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class='container-fluid'>
|
|
||||||
<button class='btn btn-success' id='add-stock-item'>Add new Stock Item</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -4,20 +4,21 @@
|
|||||||
|
|
||||||
{% include 'part/tabs.html' with tab='suppliers' %}
|
{% include 'part/tabs.html' with tab='suppliers' %}
|
||||||
|
|
||||||
|
<div class='row'>
|
||||||
|
<div class='col-sm-6'>
|
||||||
<h3>Part Suppliers</h3>
|
<h3>Part Suppliers</h3>
|
||||||
|
</div>
|
||||||
|
<div class='col-sm-6'>
|
||||||
|
<h3>
|
||||||
|
<button class="btn btn-success float-right" id='supplier-create'>New Supplier Part</button>
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
{% if part.supplier_count > 0 %}
|
<hr>
|
||||||
<p><b>{{ part.name }}</b> is available from {{ part.supplier_count }} suppliers.</p>
|
|
||||||
|
|
||||||
<table class="table table-striped table-condensed" id='supplier-table'>
|
<table class="table table-striped table-condensed" id='supplier-table'>
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
|
||||||
<p><b>{{ part.name }}</b> is not available from any suppliers.</p>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<div class='container-fluid'>
|
|
||||||
<button class="btn btn-success" id='supplier-create'>New Supplier Part</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -121,3 +121,7 @@
|
|||||||
margin-left: 2px;
|
margin-left: 2px;
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.float-right {
|
||||||
|
float: right;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user