mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
fix .MgmtCards-card inconsistent padding, remove Stream factory from dependencies, remove Pagination/Search dependent on Stream
This commit is contained in:
parent
933ab65b3f
commit
ea25190571
@ -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 () {
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
.MgmtCards-card {
|
||||
background-color: #fff;
|
||||
padding: 20px;
|
||||
padding-bottom: 0px;
|
||||
border-radius: 5px;
|
||||
border: 1px solid #e8e8e8;
|
||||
display: flex;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user