mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
Add border between invalid and active indicators
This commit is contained in:
@@ -81,6 +81,10 @@
|
|||||||
border-top-right-radius: @at-border-radius;
|
border-top-right-radius: @at-border-radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.at-Row--active .at-Row--invalid {
|
||||||
|
border-left: @at-white solid 1px;
|
||||||
|
}
|
||||||
|
|
||||||
.at-Row--invalid {
|
.at-Row--invalid {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: @at-color-error;
|
background: @at-color-error;
|
||||||
|
|||||||
@@ -103,17 +103,6 @@ function(NotificationsList, CompletedJobsList, i18n) {
|
|||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate) || !canGetAllRelatedResources',
|
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate) || !canGetAllRelatedResources',
|
||||||
awLookupWhen: '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: "<p>" + i18n._("Select the custom Python virtual environment for this job template to run on.") + "</p>",
|
|
||||||
dataTitle: i18n._('Ansible Environment'),
|
|
||||||
dataContainer: 'body',
|
|
||||||
dataPlacement: 'right',
|
|
||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAdd)'
|
|
||||||
},
|
|
||||||
playbook: {
|
playbook: {
|
||||||
label: i18n._('Playbook'),
|
label: i18n._('Playbook'),
|
||||||
type:'select',
|
type:'select',
|
||||||
@@ -197,15 +186,6 @@ function(NotificationsList, CompletedJobsList, i18n) {
|
|||||||
},
|
},
|
||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)',
|
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)',
|
||||||
},
|
},
|
||||||
instance_groups: {
|
|
||||||
label: i18n._('Instance Groups'),
|
|
||||||
type: 'custom',
|
|
||||||
awPopOver: "<p>" + i18n._("Select the Instance Groups for this Job Template to run on.") + "</p>",
|
|
||||||
dataTitle: i18n._('Instance Groups'),
|
|
||||||
dataContainer: 'body',
|
|
||||||
dataPlacement: 'right',
|
|
||||||
control: '<instance-groups-multiselect instance-groups="instance_groups" field-is-disabled="!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)"></instance-groups-multiselect>',
|
|
||||||
},
|
|
||||||
job_tags: {
|
job_tags: {
|
||||||
label: i18n._('Job Tags'),
|
label: i18n._('Job Tags'),
|
||||||
type: 'select',
|
type: 'select',
|
||||||
@@ -251,6 +231,26 @@ function(NotificationsList, CompletedJobsList, i18n) {
|
|||||||
dataContainer: 'body',
|
dataContainer: 'body',
|
||||||
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
|
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: "<p>" + i18n._("Select the custom Python virtual environment for this job template to run on.") + "</p>",
|
||||||
|
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: "<p>" + i18n._("Select the Instance Groups for this Job Template to run on.") + "</p>",
|
||||||
|
dataTitle: i18n._('Instance Groups'),
|
||||||
|
dataContainer: 'body',
|
||||||
|
dataPlacement: 'right',
|
||||||
|
control: '<instance-groups-multiselect instance-groups="instance_groups" field-is-disabled="!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)"></instance-groups-multiselect>',
|
||||||
|
},
|
||||||
diff_mode: {
|
diff_mode: {
|
||||||
label: i18n._('Show Changes'),
|
label: i18n._('Show Changes'),
|
||||||
type: 'toggleSwitch',
|
type: 'toggleSwitch',
|
||||||
|
|||||||
Reference in New Issue
Block a user