Added buttons to top of Job Events, Job Details and Job Host Summary pages to link everything together and provide a Refresh action.

This commit is contained in:
root
2013-05-23 11:25:06 -04:00
committed by chouseknecht
parent 0cd9f51bf9
commit ab4115d0e7
10 changed files with 169 additions and 19 deletions

View File

@@ -50,6 +50,18 @@ function JobHostSummaryList ($scope, $rootScope, $location, $log, $routeParams,
{ hdr: 'Error!', msg: 'Failed to lookup job record for job ' + $routeParams.id + ' GET returned status: ' + status });
});
};
scope.refresh = function() {
scope.search(list.iterator);
}
scope.jobDetails = function() {
$location.path('/jobs/' + $routeParams.id);
};
scope.jobEvents = function() {
$location.path('/jobs/' + $routeParams.id + '/job_events');
};
}