mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
update for auto-resizing height of repository list.
This commit is contained in:
parent
d5dc67a166
commit
d73fbda8c8
@ -1,4 +1,4 @@
|
||||
<div class="tab-pane active" id="repositories" >
|
||||
<div class="tab-pane active" id="repositories" element-height>
|
||||
<div class="col-xs-12 col-md-12 each-tab-pane">
|
||||
<div class="form-inline">
|
||||
<div class="input-group">
|
||||
@ -11,6 +11,7 @@
|
||||
<div ng-if="vm.repositories.length === 0" class="empty-hint">
|
||||
<h3 style="margin-top: 200px;" class="text-muted">// 'no_repositories' | tr //</h3>
|
||||
</div>
|
||||
<div class="sub-pane">
|
||||
<div ng-if="vm.repositories.length > 0" class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
|
||||
<modal-dialog action="vm.deleteImage()" content-type="text/html" modal-title="//vm.modalTitle//" modal-message="//vm.modalMessage//"></modal-dialog>
|
||||
<div class="panel panel-default" ng-repeat="repo in vm.repositories">
|
||||
@ -25,5 +26,6 @@
|
||||
<list-tag associate-id="$index + 1" repo-name="repo" tag-count="vm.tagCount"></list-tag>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
@ -8,6 +8,9 @@
|
||||
ListRepositoryController.$inject = ['$scope', 'ListRepositoryService', 'DeleteRepositoryService', '$filter', 'trFilter', '$location', 'getParameterByName'];
|
||||
|
||||
function ListRepositoryController($scope, ListRepositoryService, DeleteRepositoryService, $filter, trFilter, $location, getParameterByName) {
|
||||
|
||||
$scope.subsTabPane = 30;
|
||||
|
||||
var vm = this;
|
||||
|
||||
vm.filterInput = '';
|
||||
|
Loading…
Reference in New Issue
Block a user