fix .MgmtCards-card inconsistent padding, remove Stream factory from dependencies, remove Pagination/Search dependent on Stream

This commit is contained in:
Leigh Johnson 2016-02-10 13:25:01 -05:00
parent 933ab65b3f
commit ea25190571
2 changed files with 2 additions and 21 deletions

View File

@ -11,12 +11,12 @@ export default
'GetBasePath' , 'SearchInit' , 'PaginateInit',
'SchedulesList',
'Rest' , 'ProcessErrors', 'managementJobsListObject', '$rootScope',
'$state', 'Stream', '$scope',
'$state','$scope',
function( Wait, $location, $compile, CreateDialog,
GetBasePath, SearchInit, PaginateInit,
SchedulesList,
Rest, ProcessErrors, managementJobsListObject, $rootScope,
$state, Stream, $scope) {
$state, $scope) {
var defaultUrl = GetBasePath('system_job_templates');
@ -38,24 +38,6 @@ export default
list = managementJobsListObject;
scope.cleanupJob = true;
SearchInit({
scope: scope,
set: 'configure_jobs',
list: list,
url: defaultUrl
});
PaginateInit({
scope: scope,
list: list,
url: defaultUrl
});
scope.search(list.iterator);
scope.showActivity = function () {
Stream({ scope: scope });
};
// Cancel
scope.cancelConfigure = function () {

View File

@ -8,7 +8,6 @@
.MgmtCards-card {
background-color: #fff;
padding: 20px;
padding-bottom: 0px;
border-radius: 5px;
border: 1px solid #e8e8e8;
display: flex;