mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 11:27:36 -02:30
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:
@@ -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'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user