mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 01:17:37 -02:30
fix .MgmtCards-card inconsistent padding, remove Stream factory from dependencies, remove Pagination/Search dependent on Stream
This commit is contained in:
@@ -11,12 +11,12 @@ export default
|
|||||||
'GetBasePath' , 'SearchInit' , 'PaginateInit',
|
'GetBasePath' , 'SearchInit' , 'PaginateInit',
|
||||||
'SchedulesList',
|
'SchedulesList',
|
||||||
'Rest' , 'ProcessErrors', 'managementJobsListObject', '$rootScope',
|
'Rest' , 'ProcessErrors', 'managementJobsListObject', '$rootScope',
|
||||||
'$state', 'Stream', '$scope',
|
'$state','$scope',
|
||||||
function( Wait, $location, $compile, CreateDialog,
|
function( Wait, $location, $compile, CreateDialog,
|
||||||
GetBasePath, SearchInit, PaginateInit,
|
GetBasePath, SearchInit, PaginateInit,
|
||||||
SchedulesList,
|
SchedulesList,
|
||||||
Rest, ProcessErrors, managementJobsListObject, $rootScope,
|
Rest, ProcessErrors, managementJobsListObject, $rootScope,
|
||||||
$state, Stream, $scope) {
|
$state, $scope) {
|
||||||
|
|
||||||
var defaultUrl = GetBasePath('system_job_templates');
|
var defaultUrl = GetBasePath('system_job_templates');
|
||||||
|
|
||||||
@@ -38,24 +38,6 @@ export default
|
|||||||
list = managementJobsListObject;
|
list = managementJobsListObject;
|
||||||
scope.cleanupJob = true;
|
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
|
// Cancel
|
||||||
scope.cancelConfigure = function () {
|
scope.cancelConfigure = function () {
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
.MgmtCards-card {
|
.MgmtCards-card {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
padding-bottom: 0px;
|
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: 1px solid #e8e8e8;
|
border: 1px solid #e8e8e8;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user