Move "Export" button onto stock table

This commit is contained in:
Oliver Walters 2019-09-08 23:40:51 +10:00
parent e81a4ffacd
commit 3d5542181a
2 changed files with 2 additions and 4 deletions

View File

@ -16,9 +16,6 @@
<button class='btn btn-default btn-glyph' id='location-create' title='Create new stock location'>
<span class='glyphicon glyphicon-plus'/>
</button>
<button class='btn btn-default btn-glyph' id='location-export' title='Export Stock Data'>
<span class='glyphicon glyphicon-download-alt'></span>
</button>
{% if location %}
{% include "qr_button.html" %}
<button class='btn btn-default btn-glyph' id='location-count' title='Count stock items'>
@ -70,7 +67,7 @@
sessionStorage.removeItem('inventree-show-part-locations');
});
$("#location-export").click(function() {
$("#stock-export").click(function() {
launchModalForm("{% url 'stock-export-options' %}",
{
submit_text: "Export",

View File

@ -1,5 +1,6 @@
<div id='button-toolbar'>
<div class='button-toolbar container-fluid' style='float: right;'>
<button class='btn btn-success' id='stock-export' title='Export Stock Information'>Export</button>
{% if not part or part.is_template == False %}
<button class="btn btn-success" id='item-create'>New Stock Item</button>
{% endif %}