First pass at Job Hosts Summary page. Added link to host detail page. Need to add link to job->host->events.

This commit is contained in:
chouseknecht
2013-05-22 17:53:35 -04:00
parent 45a4ba7743
commit 34994a6736
15 changed files with 160 additions and 16 deletions

View File

@@ -41,6 +41,11 @@ function JobsListCtrl ($scope, $rootScope, $location, $log, $routeParams, Rest,
$location.path($location.path() + '/' + id + '/job_events');
}
scope.viewSummary = function(id, name) {
LoadBreadCrumbs({ path: '/jobs/' + id, title: name });
$location.path($location.path() + '/' + id + '/job_host_summaries');
}
scope.deleteJob = function(id, name) {
Rest.setUrl(defaultUrl + id + '/');
Rest.get()