mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-13 19:41:48 -05:00
add timeout field to ui
This commit is contained in:
@@ -141,18 +141,15 @@ function(NotificationsList, i18n) {
|
|||||||
},
|
},
|
||||||
forks: {
|
forks: {
|
||||||
label: i18n._('Forks'),
|
label: i18n._('Forks'),
|
||||||
id: 'forks-number',
|
|
||||||
type: 'number',
|
type: 'number',
|
||||||
integer: true,
|
integer: true,
|
||||||
min: 1,
|
min: 0,
|
||||||
|
default: 0,
|
||||||
spinner: true,
|
spinner: true,
|
||||||
'class': "input-small",
|
|
||||||
column: 1,
|
|
||||||
awPopOver: i18n._('The number of parallel or simultaneous processes to use while executing the playbook. Value defaults to 0. Refer to the Ansible documentation for details about the configuration file.'),
|
|
||||||
placeholder: 'DEFAULT',
|
|
||||||
dataTitle: i18n._('Forks'),
|
dataTitle: i18n._('Forks'),
|
||||||
dataPlacement: 'right',
|
dataPlacement: 'right',
|
||||||
dataContainer: "body",
|
dataContainer: 'body',
|
||||||
|
awPopOver: "<p>" + i18n._("The number of parallel or simultaneous processes to use while executing the playbook. Value defaults to 0. Refer to the Ansible documentation for details about the configuration file.") + "</p>",
|
||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||||
},
|
},
|
||||||
limit: {
|
limit: {
|
||||||
@@ -270,6 +267,19 @@ function(NotificationsList, i18n) {
|
|||||||
awPopOver: "<p>" + i18n._("Divide the work done by this job template into the specified number of job slices, each running the same tasks against a portion of the inventory.") + "</p>",
|
awPopOver: "<p>" + i18n._("Divide the work done by this job template into the specified number of job slices, each running the same tasks against a portion of the inventory.") + "</p>",
|
||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||||
},
|
},
|
||||||
|
timeout: {
|
||||||
|
label: i18n._('Timeout'),
|
||||||
|
type: 'number',
|
||||||
|
integer: true,
|
||||||
|
min: 0,
|
||||||
|
default: 0,
|
||||||
|
spinner: true,
|
||||||
|
dataTitle: i18n._('Timeout'),
|
||||||
|
dataPlacement: 'right',
|
||||||
|
dataContainer: 'body',
|
||||||
|
awPopOver: "<p>" + i18n._("The amount of time (in seconds) to run before the task is canceled. Defaults to 0, which means the job will not timeout.") + "</p>",
|
||||||
|
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
||||||
|
},
|
||||||
diff_mode: {
|
diff_mode: {
|
||||||
label: i18n._('Show Changes'),
|
label: i18n._('Show Changes'),
|
||||||
type: 'toggleSwitch',
|
type: 'toggleSwitch',
|
||||||
|
|||||||
Reference in New Issue
Block a user