Job detail page

Removed malihu POS custom scrollbar widget. Installed new angular directive. Removed the waiting spinner on scroll, replacing it with a subtle, small spinning cog under the scrollbar.
This commit is contained in:
Chris Houseknecht
2014-07-02 16:58:48 -04:00
parent 589e5412d6
commit 1b6a4abf1d
31 changed files with 218 additions and 12337 deletions

View File

@@ -684,7 +684,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
callback: callback
});
$('#tasks-table-detail').mCustomScrollbar("update");
//$('#tasks-table-detail').mCustomScrollbar("update");
})
.error(function(data) {
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
@@ -692,7 +692,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
});
}
else {
$('#tasks-table-detail').mCustomScrollbar("update");
//$('#tasks-table-detail').mCustomScrollbar("update");
SelectTask({
scope: scope,
id: null,
@@ -753,7 +753,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
url = scope.job.related.job_events + '?parent=' + scope.activeTask + '&';
url += (scope.search_all_hosts_name) ? 'host__name__icontains=' + scope.search_all_hosts_name + '&' : '';
url += (scope.searchAllStatus === 'failed') ? 'failed=true&' : '';
url += 'event__icontains=runner&page_size=' + scope.hostTableRows + '&order_by=host__name';
url += 'event__icontains=runner&page_size=' + scope.hostResultsMaxRows + '&order_by=host__name';
Rest.setUrl(url);
Rest.get()
.success(function(data) {
@@ -798,7 +798,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
if (callback) {
scope.$emit(callback);
}
$('#hosts-table-detail').mCustomScrollbar("update");
//$('#hosts-table-detail').mCustomScrollbar("update");
})
.error(function(data, status) {
ProcessErrors(scope, data, status, null, { hdr: 'Error!',
@@ -809,7 +809,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
if (callback) {
scope.$emit(callback);
}
$('#hosts-table-detail').mCustomScrollbar("update");
//$('#hosts-table-detail').mCustomScrollbar("update");
}
};
}])
@@ -842,7 +842,7 @@ function($rootScope, $log, UpdatePlayStatus, UpdateHostStatus, AddHostResult, Ge
status: (event.failed) ? 'failed' : 'successful'
});
});
$('#hosts-summary-table').mCustomScrollbar("update");
//$('#hosts-summary-table').mCustomScrollbar("update");
if (callback) {
scope.$emit(callback);
}