harbor/views/repository.htm

47 lines
3.0 KiB
HTML
Raw Normal View History

<!--
Copyright (c) 2016 VMware, Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
2016-06-25 21:12:17 +02:00
<div class="container-fluid container-fluid-custom" element-height ng-controller="DetailsController as vm">
2016-07-02 12:20:31 +02:00
<modal-dialog action="vm.action()" content-type="//vm.contentType//" modal-title="//vm.modalTitle//" modal-message="//vm.modalMessage//" confirm-only="vm.confirmOnly"></modal-dialog>
2016-04-11 10:07:16 +02:00
<div class="container container-custom">
<div class="row extend-height">
<div class="col-xs-12 col-md-12 extend-height">
<div class="section" ng-style="vm.sectionHeight">
2016-05-18 09:30:14 +02:00
<h4 class="page-header">
<span ng-show="!vm.publicity">// 'my_projects' | tr //</span>
2016-06-28 01:59:47 +02:00
<a ng-show="vm.publicity" href="#/repositories?project_id=//vm.selectedProject.project_id//" class="title-color" ng-click="vm.togglePublicity({publicity: false})">// 'my_projects' | tr //</a>
2016-05-18 09:30:14 +02:00
<span class="gutter">|</span>
<span ng-show="vm.publicity">// 'public_projects' | tr //</span>
2016-06-28 01:59:47 +02:00
<a ng-show="!vm.publicity" href="#/repositories?project_id=//vm.selectedProject.project_id//" class="title-color" ng-click="vm.togglePublicity({publicity: true})">// 'public_projects' | tr //</a></h4>
2016-05-18 09:30:14 +02:00
<div class="switch-pane">
<switch-pane-projects is-open="vm.isOpen" selected-project="vm.selectedProject"></switch-pane-projects>
2016-05-18 09:30:14 +02:00
<span>
<navigation-details target="vm.target" ng-show="vm.isProjectMember"></navigation-details>
2016-05-18 09:30:14 +02:00
</span>
</div>
<retrieve-projects target="vm.target" is-open="vm.isOpen" selected-project="vm.selectedProject" is-project-member="vm.isProjectMember" publicity="vm.publicity"></retrieve-projects>
2016-05-18 09:30:14 +02:00
<!-- Tab panes -->
<div class="tab-content" ng-click="vm.closeRetrievePane()">
<input type="hidden" id="HarborRegUrl" value="{{.HarborRegUrl}}">
<list-repository ng-if="vm.target === 'repositories'" section-height="vm.sectionHeight"></list-repository>
<list-replication ng-if="vm.target === 'replication'" section-height="vm.sectionHeight"></list-replication>
<list-project-member ng-if="vm.target === 'users'" section-height="vm.sectionHeight" target="vm.target"></list-project-member>
<list-log ng-if="vm.target === 'logs'" section-height="vm.sectionHeight" target="vm.target" publicity="vm.publicity"></list-log>
2016-06-26 06:56:58 +02:00
</div>
2016-05-18 09:30:14 +02:00
</div>
</div>
2016-04-11 10:07:16 +02:00
</div>
</div>
</div>
</div>