diff --git a/awx/ui/client/lib/components/list/_index.less b/awx/ui/client/lib/components/list/_index.less index 0deaa7c250..b4eac97d30 100644 --- a/awx/ui/client/lib/components/list/_index.less +++ b/awx/ui/client/lib/components/list/_index.less @@ -81,6 +81,10 @@ border-top-right-radius: @at-border-radius; } +.at-Row--active .at-Row--invalid { + border-left: @at-white solid 1px; +} + .at-Row--invalid { align-items: center; background: @at-color-error; diff --git a/awx/ui/client/src/templates/job_templates/job-template.form.js b/awx/ui/client/src/templates/job_templates/job-template.form.js index bb9d57467b..422d722c3a 100644 --- a/awx/ui/client/src/templates/job_templates/job-template.form.js +++ b/awx/ui/client/src/templates/job_templates/job-template.form.js @@ -103,17 +103,6 @@ function(NotificationsList, CompletedJobsList, i18n) { ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate) || !canGetAllRelatedResources', awLookupWhen: 'canGetAllRelatedResources' }, - custom_virtualenv: { - label: i18n._('Ansible Environment'), - type: 'select', - defaultText: i18n._('Select Ansible Environment'), - ngOptions: 'venv for venv in custom_virtualenvs_options track by venv', - awPopOver: "

" + i18n._("Select the custom Python virtual environment for this job template to run on.") + "

", - dataTitle: i18n._('Ansible Environment'), - dataContainer: 'body', - dataPlacement: 'right', - ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAdd)' - }, playbook: { label: i18n._('Playbook'), type:'select', @@ -197,15 +186,6 @@ function(NotificationsList, CompletedJobsList, i18n) { }, ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)', }, - instance_groups: { - label: i18n._('Instance Groups'), - type: 'custom', - awPopOver: "

" + i18n._("Select the Instance Groups for this Job Template to run on.") + "

", - dataTitle: i18n._('Instance Groups'), - dataContainer: 'body', - dataPlacement: 'right', - control: '', - }, job_tags: { label: i18n._('Job Tags'), type: 'select', @@ -251,6 +231,26 @@ function(NotificationsList, CompletedJobsList, i18n) { dataContainer: 'body', ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)' }, + custom_virtualenv: { + label: i18n._('Ansible Environment'), + type: 'select', + defaultText: i18n._('Select Ansible Environment'), + ngOptions: 'venv for venv in custom_virtualenvs_options track by venv', + awPopOver: "

" + i18n._("Select the custom Python virtual environment for this job template to run on.") + "

", + dataTitle: i18n._('Ansible Environment'), + dataContainer: 'body', + dataPlacement: 'right', + ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAdd)' + }, + instance_groups: { + label: i18n._('Instance Groups'), + type: 'custom', + awPopOver: "

" + i18n._("Select the Instance Groups for this Job Template to run on.") + "

", + dataTitle: i18n._('Instance Groups'), + dataContainer: 'body', + dataPlacement: 'right', + control: '', + }, diff_mode: { label: i18n._('Show Changes'), type: 'toggleSwitch', @@ -268,7 +268,6 @@ function(NotificationsList, CompletedJobsList, i18n) { checkbox_group: { label: i18n._('Options'), type: 'checkbox_group', - class: 'Form-formGroup--fullWidth', fields: [{ name: 'become_enabled', label: i18n._('Enable Privilege Escalation'),