mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 22:05:07 -02:30
Added tooltips to host/group/extra variables using TB popover. Fixed bugs on Inventory detail page causing js errors. Added JSON validation to extra_vars on Job Templates add/edit page. Always grey-out/disable fields on Jobs detail page because upading a Pending job throws a 405 error -will investigate with CC later.
This commit is contained in:
@@ -35,7 +35,14 @@ angular.module('GroupFormDefinition', [])
|
||||
editRequird: false,
|
||||
rows: 10,
|
||||
class: 'span12',
|
||||
default: "\{\}"
|
||||
default: "\{\}",
|
||||
dataTitle: 'Group Variables',
|
||||
dataPlacement: 'right',
|
||||
awPopOver: '<p>Enter variables as JSON. Both the key and value must be wrapped in double quotes. ' +
|
||||
'Separate variables with commas, and wrap the entire string with { }. ' +
|
||||
' For example:</p><p>{<br\>"ntp_server": "ntp.example.com",<br \>' +
|
||||
'"proxy": "proxy.example.com"<br \>}</p><p>See additional JSON examples at <a href="' +
|
||||
'http://www.json.org" target="_blank">www.json.org</a></p>'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -40,7 +40,14 @@ angular.module('HostFormDefinition', [])
|
||||
editRequird: false,
|
||||
rows: 10,
|
||||
class: 'span12',
|
||||
default: "\{\}"
|
||||
default: "\{\}",
|
||||
awPopOver: "<p>Enter variables as JSON. Both the key and value must be wrapped in double quotes. " +
|
||||
"Separate variables with commas, and wrap the entire string with { }. " +
|
||||
" For example:</p><p>{<br\>"ntp_server": "ntp.example.com",<br \>" +
|
||||
'"proxy": "proxy.example.com"<br \>}</p><p>See additional JSON examples at <a href="' +
|
||||
'http://www.json.org" target="_blank">www.json.org</a></p>',
|
||||
dataTitle: 'Host Variables',
|
||||
dataPlacement: 'right'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -115,7 +115,15 @@ angular.module('JobTemplateFormDefinition', [])
|
||||
class: 'span12',
|
||||
addRequired: false,
|
||||
editRequired: false,
|
||||
column: 2
|
||||
default: "\{\}",
|
||||
column: 2,
|
||||
awPopOver: "<p>Enter variables as JSON. Both the key and value must be wrapped in double quotes. " +
|
||||
"Separate variables with commas, and wrap the entire string with { }. " +
|
||||
" For example:</p><p>{<br\>"ntp_server": "ntp.example.com",<br \>" +
|
||||
'"proxy": "proxy.example.com"<br \>}</p><p>See additional JSON examples at <a href="' +
|
||||
'http://www.json.org" target="_blank">www.json.org</a></p>',
|
||||
dataTitle: 'Extra Variables',
|
||||
dataPlacement: 'left'
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user