mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Move "Export" button onto stock table
This commit is contained in:
parent
e81a4ffacd
commit
3d5542181a
@ -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",
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user