AC-331 Delete one or many hosts now working.

This commit is contained in:
chouseknecht
2013-08-16 17:01:18 -04:00
parent 09a40fa087
commit 707f98237b
5 changed files with 85 additions and 41 deletions

View File

@@ -105,22 +105,6 @@ angular.module('InventoryFormDefinition', [])
title: "groupTitle",
iterator: 'host',
actions: {
select: {
ngClick: "selectHost()",
icon: 'icon-check',
label: 'Add Existing',
awToolTip: 'Select existing host',
ngHide: 'createButtonShow == false',
"class": 'btn btn-default'
},
create: {
ngClick: "createHost()",
icon: 'icon-plus',
label: 'Create New',
awToolTip: 'Create a new host',
ngHide: 'createButtonShow == false',
"class": 'btn-success'
}
},
fields: {
@@ -129,6 +113,10 @@ angular.module('InventoryFormDefinition', [])
label: 'Host Name',
ngClick: "editHost(\{\{ host.id \}\}, '\{\{ host.name \}\}')"
},
description: {
label: 'Description',
ngClick: "editHost(\{\{ host.id \}\}, '\{\{ host.name \}\}')"
},
has_active_failures: {
label: 'Failed jobs?',
showValue: false,