mirror of
https://github.com/ansible/awx.git
synced 2026-02-26 07:26:03 -03:30
Merge pull request #162 from mabashian/7303-credential-type-tweaks
Credential Type UX tweaks
This commit is contained in:
@@ -43,14 +43,7 @@ export default ['i18n', function(i18n) {
|
|||||||
default: '---',
|
default: '---',
|
||||||
showParseTypeToggle: true,
|
showParseTypeToggle: true,
|
||||||
parseTypeName: 'parseTypeInputs',
|
parseTypeName: 'parseTypeInputs',
|
||||||
awPopOver: "<p>Enter inputs using either JSON or YAML syntax. Use the " +
|
awPopOver: i18n._("Enter inputs using either JSON or YAML syntax. Use the radio button to toggle between the two. Refer to the Ansible Tower documentation for example syntax."),
|
||||||
"radio button to toggle between the two.</p>" +
|
|
||||||
"JSON:<br />\n" +
|
|
||||||
"<blockquote>{<br />  \"somevar\": \"somevalue\",<br /> \"password\": \"magic\"<br /> }</blockquote>\n" +
|
|
||||||
"YAML:<br />\n" +
|
|
||||||
"<blockquote>---<br />somevar: somevalue<br />password: magic<br /></blockquote>\n" +
|
|
||||||
'<p>View JSON examples at <a href="http://www.json.org" target="_blank">www.json.org</a></p>' +
|
|
||||||
'<p>View YAML examples at <a href="http://docs.ansible.com/YAMLSyntax.html" target="_blank">docs.ansible.com</a></p>',
|
|
||||||
dataTitle: i18n._('Input Configuration'),
|
dataTitle: i18n._('Input Configuration'),
|
||||||
dataPlacement: 'right',
|
dataPlacement: 'right',
|
||||||
dataContainer: "body",
|
dataContainer: "body",
|
||||||
@@ -64,14 +57,7 @@ export default ['i18n', function(i18n) {
|
|||||||
default: '---',
|
default: '---',
|
||||||
showParseTypeToggle: true,
|
showParseTypeToggle: true,
|
||||||
parseTypeName: 'parseTypeInjectors',
|
parseTypeName: 'parseTypeInjectors',
|
||||||
awPopOver: "<p>Enter injectors using either JSON or YAML syntax. Use the " +
|
awPopOver: i18n._("Enter injectors using either JSON or YAML syntax. Use the radio button to toggle between the two. Refer to the Ansible Tower documentation for example syntax."),
|
||||||
"radio button to toggle between the two.</p>" +
|
|
||||||
"JSON:<br />\n" +
|
|
||||||
"<blockquote>{<br />  \"somevar\": \"somevalue\",<br /> \"password\": \"magic\"<br /> }</blockquote>\n" +
|
|
||||||
"YAML:<br />\n" +
|
|
||||||
"<blockquote>---<br />somevar: somevalue<br />password: magic<br /></blockquote>\n" +
|
|
||||||
'<p>View JSON examples at <a href="http://www.json.org" target="_blank">www.json.org</a></p>' +
|
|
||||||
'<p>View YAML examples at <a href="http://docs.ansible.com/YAMLSyntax.html" target="_blank">docs.ansible.com</a></p>',
|
|
||||||
dataTitle: i18n._('Injector Configuration'),
|
dataTitle: i18n._('Injector Configuration'),
|
||||||
dataPlacement: 'right',
|
dataPlacement: 'right',
|
||||||
dataContainer: "body",
|
dataContainer: "body",
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ export default ['i18n', function(i18n){
|
|||||||
iterator: 'credential_type',
|
iterator: 'credential_type',
|
||||||
index: false,
|
index: false,
|
||||||
hover: false,
|
hover: false,
|
||||||
|
search: {
|
||||||
|
managed_by_tower: 'false'
|
||||||
|
},
|
||||||
|
|
||||||
fields: {
|
fields: {
|
||||||
name: {
|
name: {
|
||||||
@@ -25,7 +28,7 @@ export default ['i18n', function(i18n){
|
|||||||
dataPlacement: 'top'
|
dataPlacement: 'top'
|
||||||
},
|
},
|
||||||
kind: {
|
kind: {
|
||||||
label: i18n._('Type'),
|
label: i18n._('Kind'),
|
||||||
ngBind: 'credential_type.kind_label',
|
ngBind: 'credential_type.kind_label',
|
||||||
excludeModal: true,
|
excludeModal: true,
|
||||||
columnClass: 'col-md-2 hidden-sm hidden-xs'
|
columnClass: 'col-md-2 hidden-sm hidden-xs'
|
||||||
|
|||||||
Reference in New Issue
Block a user