Merge pull request #509 from SchrodingersGat/delete-supplier

Hide dropdown-menu for functionality that does not yet exist
This commit is contained in:
Oliver 2019-09-12 22:17:53 +10:00 committed by GitHub
commit 7326146c19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@
<div id='button-toolbar'>
<button class="btn btn-success" id='supplier-create'>New Supplier Part</button>
{% if 0 %}
<div id='opt-dropdown' class="dropdown" style='float: right;'>
<button id='supplier-part-options' class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options
<span class="caret"></span></button>
@ -16,6 +17,7 @@
<li><a href='#' id='supplier-part-delete' title='Delete supplier parts'>Delete</a></li>
</ul>
</div>
{% endif %}
</div>
<table class="table table-striped table-condensed" id='supplier-table' data-toolbar='#button-toolbar'>
@ -58,9 +60,12 @@
}
},
columns: [
/*
// TODO - Re-enable the checkbox column for performing actions on multiple supplier parts
{
checkbox: true,
},
*/
{
sortable: true,
field: 'supplier_name',