mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Fixed several schedule action buttons that were defining href's. Got the job templates schedule view rendering so that other features can be worked on until this view is fully updated.
This commit is contained in:
parent
56d0cbfeff
commit
dfb02aea4f
@ -236,6 +236,10 @@ export function JobTemplatesList($scope, $rootScope, $location, $log,
|
||||
$scope.submitJob = function (id) {
|
||||
PlaybookRun({ scope: $scope, id: id });
|
||||
};
|
||||
|
||||
$scope.scheduleJob = function (id) {
|
||||
$state.transitionTo('jobTemplateSchedules', {id: id});
|
||||
}
|
||||
}
|
||||
|
||||
JobTemplatesList.$inject = ['$scope', '$rootScope', '$location', '$log',
|
||||
|
||||
@ -711,7 +711,7 @@ export default
|
||||
scope: scope,
|
||||
searchSize: (searchSize) ? searchSize : 'col-lg-6 col-md-6 col-sm-6 col-xs-12',
|
||||
showSearch: true,
|
||||
title: false
|
||||
title: true
|
||||
});
|
||||
|
||||
SearchInit({
|
||||
|
||||
@ -65,7 +65,7 @@ export default
|
||||
schedule: {
|
||||
label: 'Schedule',
|
||||
mode: 'all',
|
||||
ngHref: '#/job_templates/{{ job_template.id }}/schedules',
|
||||
ngClick: 'scheduleJob(job_template.id)',
|
||||
awToolTip: 'Schedule future job template runs',
|
||||
dataPlacement: 'top',
|
||||
},
|
||||
|
||||
@ -52,7 +52,7 @@ export default
|
||||
schedule: {
|
||||
label: 'Schedule',
|
||||
mode: 'all',
|
||||
ngHref: '#/job_templates/{{ job_template.id }}/schedules',
|
||||
ngClick: 'scheduleJob(job_template.id)',
|
||||
awToolTip: 'Schedule future job template runs',
|
||||
dataPlacement: 'top',
|
||||
},
|
||||
|
||||
@ -13,7 +13,7 @@ export default
|
||||
iterator: 'schedule',
|
||||
selectTitle: '',
|
||||
editTitle: 'Schedules',
|
||||
well: false,
|
||||
listTitle: 'Schedules',
|
||||
index: false,
|
||||
hover: true,
|
||||
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div id="schedule-list-target"></div>
|
||||
</div>
|
||||
<div class="Panel">
|
||||
<div id="schedule-list-target"></div>
|
||||
</div>
|
||||
|
||||
<div ng-include="'/static/partials/schedule_dialog.html'"></div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user