Hide dropdown-menu for functionality that does not yet exist

This commit is contained in:
Oliver Walters 2019-09-12 22:01:18 +10:00
parent 62c9e85add
commit 61d2ce67ef

View File

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