2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-08 04:40:57 +00:00

Move button locations into bootstrap-table headers

- part category
- stock location
- build list
- company list
- supplier part list
This commit is contained in:
Oliver Walters
2019-04-16 11:46:07 +10:00
parent 338a30b50e
commit 29f33a8eec
7 changed files with 46 additions and 52 deletions

View File

@@ -15,7 +15,7 @@
{% 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>
<button class='btn btn-success' type='button' id='editing-finished'>Save Changes</button>
<button class='btn btn-success' type='button' id='editing-finished'>Finish Editing</button>
</div>
{% else %}
<div class='dropdown' style="float: right;">

View File

@@ -40,13 +40,13 @@
{% endif %}
<hr>
<table class='table table-striped table-condensed' id='part-table'>
</table>
<div>
<button style='float: right;' class='btn btn-success' id='part-create'>New Part</button>
<div id='button-toolbar'>
<button style='float: right;' class='btn btn-success' id='part-create'>New Part</button>
</div>
<table class='table table-striped table-condensed' data-toolbar='#button-toolbar' id='part-table'>
</table>
{% endblock %}
{% block js_load %}
{{ block.super }}

View File

@@ -4,20 +4,15 @@
{% include 'part/tabs.html' with tab='suppliers' %}
<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>
<h3>Part Suppliers</h3>
<div id='button-toolbar'>
<button class="btn btn-success float-right" id='supplier-create'>New Supplier Part</button>
</div>
<hr>
<table class="table table-striped table-condensed" id='supplier-table'>
<table class="table table-striped table-condensed" id='supplier-table' data-toolbar='#button-toolbar'>
</table>
{% endblock %}