harbor/views/ng/repository.htm

31 lines
1.9 KiB
HTML
Raw Normal View History

2016-04-19 19:20:07 +02:00
<div class="container-fluid container-fluid-custom" ng-controller="DetailsController as vm">
2016-04-11 10:07:16 +02:00
<div class="container container-custom">
<div class="row extend-height">
2016-05-18 09:30:14 +02:00
<div class="col-xs-12 col-md-12">
<div class="section">
<h4 class="page-header">
<span ng-show="!vm.publicity">// 'my_projects' | tr //</span>
<a ng-show="vm.publicity" href="#/repositories?project_id=//vm.selectedProject.ProjectId//" class="title-color" ng-click="vm.togglePublicity({publicity: false})">// 'my_projects' | tr //</a>
<span class="gutter">|</span>
<span ng-show="vm.publicity">// 'public_projects' | tr //</span>
<a ng-show="!vm.publicity" href="#/repositories?project_id=//vm.selectedProject.ProjectId//" class="title-color" ng-click="vm.togglePublicity({publicity: true})">// 'public_projects' | tr //</a></h4>
<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"></navigation-details>
2016-05-18 09:30:14 +02:00
</span>
</div>
<retrieve-projects 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'"></list-repository>
<list-replication ng-if="vm.target === 'replication'"></list-replication>
<list-project-member ng-if="vm.target === 'users'"></list-project-member>
<list-log ng-if="vm.target === 'logs'"></list-log>
2016-05-18 09:30:14 +02:00
</div>
</div>
2016-04-11 10:07:16 +02:00
</div>
</div>
</div>
</div>