diff --git a/ansibleworks/ui/static/js/forms/JobTemplates.js b/ansibleworks/ui/static/js/forms/JobTemplates.js index 9c7b90c0bc..e7c634b5de 100644 --- a/ansibleworks/ui/static/js/forms/JobTemplates.js +++ b/ansibleworks/ui/static/js/forms/JobTemplates.js @@ -38,7 +38,12 @@ angular.module('JobTemplateFormDefinition', []) default: 0, addRequired: true, editRequired: true, - column: 1 + column: 1, + awPopOver: "

When this template is submitted as a job, setting the type to run will execute the playbook, running tasks " + + " on the selected hosts.

Setting the type to check will not execute the playbook. Instead, ansible will check playbook " + + " syntax, test environment setup and report problems.

", + dataTitle: 'Forks', + dataPlacement: 'right' }, inventory: { label: 'Inventory', @@ -91,14 +96,24 @@ angular.module('JobTemplateFormDefinition', []) default: '0', addRequired: false, editRequired: false, - column: 2 + column: 2, + awPopOver: "

Specify the number of parallel or simultaneous processes to use while executing the playbook. Provide a value between 0 and 100. " + + "A value of zero will use the ansible default setting of 5 parallel processes.

", + dataTitle: 'Forks', + dataPlacement: 'left' }, limit: { label: 'Limit', type: 'text', addRequired: false, editRequired: false, - column: 2 + column: 2, + awPopOver: "

Provide a host pattern to further constrain the list of hosts that will be managed or affected by the playbook. " + + "Multiple patterns can be separated by ; : or ,

For more information and examples see the " + + "Selecting Targets section under Inventory and Patterns " + + " in the Ansible documentation.

", + dataTitle: 'Forks', + dataPlacement: 'left' }, verbosity: { label: 'Verbosity', @@ -107,7 +122,10 @@ angular.module('JobTemplateFormDefinition', []) default: 0, addRequired: true, editRequired: true, - column: 2 + column: 2, + awPopOver: "

Indicate the amount of debugging type information ansible should produce as the playbook executes.

", + dataTitle: 'Forks', + dataPlacement: 'left' }, extra_vars: { label: 'Extra Variables', diff --git a/ansibleworks/ui/static/lib/ansible/form-generator.js b/ansibleworks/ui/static/lib/ansible/form-generator.js index 38cd37da59..eb33ae21d6 100644 --- a/ansibleworks/ui/static/lib/ansible/form-generator.js +++ b/ansibleworks/ui/static/lib/ansible/form-generator.js @@ -186,6 +186,12 @@ angular.module('FormGenerator', ['GeneratorHelpers']) html += "' + "\n"; html += "
\n"; @@ -281,7 +287,14 @@ angular.module('FormGenerator', ['GeneratorHelpers']) html += "
' + field.label + '' + "\n"; + html += "' + "\n"; html += "
\n"; html += "