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>
|
||||
|
||||
<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>
|
||||
|
||||
<div class='container-fluid'>
|
||||
<button class='btn btn-success' id='add-stock-item'>Add new Stock Item</button>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
@ -4,20 +4,21 @@
|
||||
|
||||
{% include 'part/tabs.html' with tab='suppliers' %}
|
||||
|
||||
<h3>Part Suppliers</h3>
|
||||
<div class='row'>
|
||||
<div class='col-sm-6'>
|
||||
<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 %}
|
||||
<p><b>{{ part.name }}</b> is available from {{ part.supplier_count }} suppliers.</p>
|
||||
<hr>
|
||||
|
||||
<table class="table table-striped table-condensed" id='supplier-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 %}
|
||||
|
||||
|
@ -120,4 +120,8 @@
|
||||
.btn {
|
||||
margin-left: 2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.float-right {
|
||||
float: right;
|
||||
}
|
Loading…
Reference in New Issue
Block a user