mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 21:37:42 -02:30
changed default project/playbook scheme + actions
changed the design of the 'Reset to default project/playbook' on the job template form. Also added actions on the inventory properties accordion for scan job templates for scheduling and copying
This commit is contained in:
@@ -114,6 +114,14 @@ export default
|
||||
},
|
||||
|
||||
fields: {
|
||||
// smart_status: {
|
||||
// label: 'Status',
|
||||
// // columnClass: 'col-md-2 col-sm-2 col-xs-2',
|
||||
// searchable: false,
|
||||
// nosort: true,
|
||||
// ngInclude: "'/static/partials/job-template-smart-status.html'",
|
||||
// type: 'template'
|
||||
// },
|
||||
name: {
|
||||
key: true,
|
||||
label: 'Name',
|
||||
@@ -131,6 +139,12 @@ export default
|
||||
awToolTip: 'Launch the scan job template',
|
||||
'class': 'btn btn-default'
|
||||
},
|
||||
schedule: {
|
||||
label: 'Schedule',
|
||||
ngClick: 'scheduleScanJob()',
|
||||
awToolTip: 'Schedule future job template runs',
|
||||
dataPlacement: 'top',
|
||||
},
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
ngClick: "editScanJob()",
|
||||
@@ -144,6 +158,14 @@ export default
|
||||
icon: 'icon-trash',
|
||||
"class": 'btn-danger',
|
||||
awToolTip: 'Delete the scan job template'
|
||||
},
|
||||
copy: {
|
||||
label: 'Copy',
|
||||
ngClick: "copyScanJobTemplate()",
|
||||
"class": 'btn-danger btn-xs',
|
||||
awToolTip: 'Copy template',
|
||||
dataPlacement: 'top',
|
||||
ngHide: 'job_template.summary_fields.can_copy === false'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user