diff --git a/magnum_ui/static/dashboard/containers/bay/table/table.controller.js b/magnum_ui/static/dashboard/containers/bay/table/table.controller.js index 22f9323e..02551dd7 100644 --- a/magnum_ui/static/dashboard/containers/bay/table/table.controller.js +++ b/magnum_ui/static/dashboard/containers/bay/table/table.controller.js @@ -42,6 +42,39 @@ ctrl.singleDelete = singleDelete; ctrl.batchDelete = batchDelete; + /** + * Filtering - client-side MagicSearch + * all facets for bay table + */ + ctrl.bayFacets = [ + { + 'label': gettext('Name'), + 'name': 'name', + 'singleton': true + }, + { + 'label': gettext('ID'), + 'name': 'id', + 'singleton': true + }, + { + 'label': gettext('Status'), + 'name': 'status', + 'singleton': true + }, + { + 'label': gettext('Master Count'), + 'name': 'master_count', + 'singleton': true + }, + { + 'label': gettext('Node Count'), + 'name': 'node_count', + 'singleton': true + } + ]; + + init(); function init() { diff --git a/magnum_ui/static/dashboard/containers/bay/table/table.html b/magnum_ui/static/dashboard/containers/bay/table/table.html index bf97fc82..abfc1fae 100644 --- a/magnum_ui/static/dashboard/containers/bay/table/table.html +++ b/magnum_ui/static/dashboard/containers/bay/table/table.html @@ -13,25 +13,30 @@ --> - - - - Create Bay - - - - - - Delete Bays - - - + + + + + + + + + Create Bay + + + + + + Delete Bays + +