mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Move button groups into the table toolbar next to search box
- part stock list - part bom list
This commit is contained in:
parent
a4467fee21
commit
94b280eed3
@ -11,11 +11,7 @@
|
|||||||
|
|
||||||
<h3>Bill of Materials</h3>
|
<h3>Bill of Materials</h3>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed' id='bom-table'>
|
<div id='button-toolbar'>
|
||||||
</table>
|
|
||||||
|
|
||||||
<div><br></div>
|
|
||||||
|
|
||||||
{% if editing_enabled %}
|
{% if editing_enabled %}
|
||||||
<div class='btn-group' style='float: right;'>
|
<div class='btn-group' style='float: right;'>
|
||||||
<button class='btn btn-info' type='button' id='bom-item-new'>New BOM Item</button>
|
<button class='btn btn-info' type='button' id='bom-item-new'>New BOM Item</button>
|
||||||
@ -33,6 +29,10 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<table class='table table-striped table-condensed' data-toolbar="#button-toolbar" id='bom-table'>
|
||||||
|
</table>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -4,13 +4,9 @@
|
|||||||
|
|
||||||
{% include 'part/tabs.html' with tab='stock' %}
|
{% include 'part/tabs.html' with tab='stock' %}
|
||||||
|
|
||||||
<div class='row'>
|
|
||||||
<div class='col-sm-6'>
|
|
||||||
<h3>Part Stock</h3>
|
<h3>Part Stock</h3>
|
||||||
</div>
|
|
||||||
<div class='col-sm-6 float-right'>
|
<div id='button-toolbar'>
|
||||||
<h3>
|
|
||||||
<div class='float-right'>
|
|
||||||
<button class='btn btn-success' id='add-stock-item'>New Stock Item</button>
|
<button class='btn btn-success' id='add-stock-item'>New Stock Item</button>
|
||||||
<div id='opt-dropdown' class="dropdown" style='float: right;'>
|
<div id='opt-dropdown' class="dropdown" style='float: right;'>
|
||||||
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options
|
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options
|
||||||
@ -23,13 +19,8 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<hr>
|
<table class='table table-striped table-condensed' data-toolbar='#button-toolbar' id='stock-table'>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed' id='stock-table'>
|
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user