mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 17:17:45 -02:30
Merge pull request #1848 from jlmitch5/orgPane
nested org cards into list pane
This commit is contained in:
@@ -151,6 +151,7 @@ table, tbody {
|
||||
.List-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.List-title {
|
||||
|
||||
@@ -59,7 +59,6 @@ export default ['$scope', '$stateParams', '$state', 'Rest', 'UserList', 'Invento
|
||||
list,
|
||||
url,
|
||||
generator = GenerateList;
|
||||
$scope.$parent.hideListHeader = true;
|
||||
$scope.$parent.activeCard = parseInt($stateParams.organization_id);
|
||||
$scope.$parent.activeMode = mode;
|
||||
|
||||
|
||||
@@ -122,7 +122,6 @@ export default ['$stateParams', '$scope', '$rootScope', '$location',
|
||||
return card;
|
||||
});
|
||||
}
|
||||
$scope.hideListHeader = false;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -131,14 +130,6 @@ export default ['$stateParams', '$scope', '$rootScope', '$location',
|
||||
getOrganization(id);
|
||||
});
|
||||
|
||||
$scope.$on("HideOrgListHeader", function() {
|
||||
$scope.hideListHeader = true;
|
||||
});
|
||||
|
||||
$scope.$on("ShowOrgListHeader", function() {
|
||||
$scope.hideListHeader = false;
|
||||
});
|
||||
|
||||
getOrganization();
|
||||
|
||||
$rootScope.flashMessage = null;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<div class="tab-pane" id="organizations">
|
||||
<div ui-view></div>
|
||||
<div ng-cloak id="htmlTemplate" class="Panel" ng-hide="hideListHeader">
|
||||
<div ng-cloak id="htmlTemplate" class="Panel">
|
||||
<div class="List-header">
|
||||
<div class="List-title">
|
||||
<div class="List-titleText">
|
||||
@@ -18,7 +18,6 @@
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="OrgCards">
|
||||
<div class="OrgCards-card"
|
||||
ng-class="{'OrgCards-card--selected': activeCard === card.id || card.isActiveCard }"
|
||||
@@ -60,4 +59,5 @@
|
||||
</div>
|
||||
<div id="pagination-container" ng-hide="organization_num_pages < 2">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
.TagSearch {
|
||||
margin-bottom: 10px;
|
||||
min-height: 45px;
|
||||
}
|
||||
|
||||
.TagSearch-bar {
|
||||
|
||||
Reference in New Issue
Block a user