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'>
|
<button class='btn btn-default btn-glyph' id='location-create' title='Create new stock location'>
|
||||||
<span class='glyphicon glyphicon-plus'/>
|
<span class='glyphicon glyphicon-plus'/>
|
||||||
</button>
|
</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 %}
|
{% if location %}
|
||||||
{% include "qr_button.html" %}
|
{% include "qr_button.html" %}
|
||||||
<button class='btn btn-default btn-glyph' id='location-count' title='Count stock items'>
|
<button class='btn btn-default btn-glyph' id='location-count' title='Count stock items'>
|
||||||
@ -70,7 +67,7 @@
|
|||||||
sessionStorage.removeItem('inventree-show-part-locations');
|
sessionStorage.removeItem('inventree-show-part-locations');
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#location-export").click(function() {
|
$("#stock-export").click(function() {
|
||||||
launchModalForm("{% url 'stock-export-options' %}",
|
launchModalForm("{% url 'stock-export-options' %}",
|
||||||
{
|
{
|
||||||
submit_text: "Export",
|
submit_text: "Export",
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<div id='button-toolbar'>
|
<div id='button-toolbar'>
|
||||||
<div class='button-toolbar container-fluid' style='float: right;'>
|
<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 %}
|
{% if not part or part.is_template == False %}
|
||||||
<button class="btn btn-success" id='item-create'>New Stock Item</button>
|
<button class="btn btn-success" id='item-create'>New Stock Item</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user