AC-171 first round of changes to make select dialogs more understandable. Also changed tooltip config to include a default time for hide and a default time for show.

This commit is contained in:
chouseknecht
2013-07-09 00:09:37 -04:00
parent 259083c0e2
commit a82edf0e4a
18 changed files with 161 additions and 121 deletions

View File

@@ -102,13 +102,22 @@ angular.module('InventoryFormDefinition', [])
type: 'treeview',
title: "{{ groupTitle }}",
iterator: 'host',
actions: {
add: {
ngClick: "addHost()",
actions: {
select: {
ngClick: "selectHost()",
icon: 'icon-check',
label: 'Add Existing Host',
awToolTip: 'Select existing host',
ngHide: 'createButtonShow == false',
"class": 'btn btn-pad'
},
create: {
ngClick: "createHost()",
icon: 'icon-plus',
label: 'Add Host',
awToolTip: 'Add a host',
ngHide: 'createButtonShow == false'
label: 'Create New Host',
awToolTip: 'Create a new host',
ngHide: 'createButtonShow == false',
"class": 'btn-success'
}
},