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>
|
||||
|
||||
<table class='table table-striped table-condensed' id='bom-table'>
|
||||
</table>
|
||||
|
||||
<div><br></div>
|
||||
|
||||
<div id='button-toolbar'>
|
||||
{% if editing_enabled %}
|
||||
<div class='btn-group' style='float: right;'>
|
||||
<button class='btn btn-info' type='button' id='bom-item-new'>New BOM Item</button>
|
||||
@ -33,6 +29,10 @@
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<table class='table table-striped table-condensed' data-toolbar="#button-toolbar" id='bom-table'>
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
@ -4,13 +4,9 @@
|
||||
|
||||
{% include 'part/tabs.html' with tab='stock' %}
|
||||
|
||||
<div class='row'>
|
||||
<div class='col-sm-6'>
|
||||
<h3>Part Stock</h3>
|
||||
</div>
|
||||
<div class='col-sm-6 float-right'>
|
||||
<h3>
|
||||
<div class='float-right'>
|
||||
|
||||
<div id='button-toolbar'>
|
||||
<button class='btn btn-success' id='add-stock-item'>New Stock Item</button>
|
||||
<div id='opt-dropdown' class="dropdown" style='float: right;'>
|
||||
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options
|
||||
@ -23,13 +19,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<table class='table table-striped table-condensed' id='stock-table'>
|
||||
<table class='table table-striped table-condensed' data-toolbar='#button-toolbar' id='stock-table'>
|
||||
</table>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user