2013-12-17 18:19:59 +00:00
|
|
|
<div class="container">
|
2013-10-02 17:29:18 +00:00
|
|
|
<div class="repo-list" ng-show="!user.anonymous">
|
2013-11-07 06:48:58 +00:00
|
|
|
<div ng-class="user.organizations.length ? 'section-header' : ''">
|
|
|
|
<div class="button-bar-right">
|
|
|
|
<a href="/new/">
|
|
|
|
<button class="btn btn-success">
|
|
|
|
<i class="fa fa-upload user-tool" title="Create new repository"></i>
|
|
|
|
Create Repository
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href="/organization/{{ namespace }}" ng-show="namespace != user.username">
|
|
|
|
<button class="btn btn-default">
|
|
|
|
<i class="fa fa-group user-tool"></i>
|
|
|
|
View Organization
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<span class="namespace-selector" user="user" namespace="namespace" ng-show="user.organizations"></span>
|
|
|
|
</div>
|
2013-10-28 17:22:18 +00:00
|
|
|
|
2013-11-07 02:52:31 +00:00
|
|
|
<h3 ng-show="namespace == user.username">Your Repositories</h3>
|
|
|
|
<h3 ng-show="namespace != user.username">Repositories</h3>
|
2013-10-02 04:28:24 +00:00
|
|
|
|
2013-12-17 18:19:59 +00:00
|
|
|
<div class="resource-view" resource="user_repositories">
|
|
|
|
<!-- User/Org has repositories -->
|
|
|
|
<div ng-show="user_repositories.value.length > 0">
|
|
|
|
<div class="repo-listing" ng-repeat="repository in user_repositories.value">
|
|
|
|
<span class="repo-circle no-background" repo="repository"></span>
|
|
|
|
<a ng-href="/repository/{{repository.namespace}}/{{ repository.name }}">{{repository.namespace}}/{{repository.name}}</a>
|
|
|
|
<div class="description markdown-view" content="repository.description" first-line-only="true"></div>
|
|
|
|
</div>
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
|
|
|
|
2013-12-17 18:19:59 +00:00
|
|
|
<!-- User/Org has no repositories -->
|
|
|
|
<div ng-show="user_repositories.value.length == 0" style="padding:20px;">
|
|
|
|
<div class="alert alert-info">
|
|
|
|
<h4 ng-show="namespace == user.username">You don't have any repositories yet!</h4>
|
|
|
|
<h4 ng-show="namespace != user.username">This organization doesn't have any repositories, or you have not been provided access.</h4>
|
2014-01-30 16:38:49 +00:00
|
|
|
<a href="http://docs.quay.io/getting-started.html"><b>Click here</b> to learn how to create a repository</a>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
2013-12-17 18:19:59 +00:00
|
|
|
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="repo-list">
|
|
|
|
<h3>Top Public Repositories</h3>
|
2013-12-17 18:19:59 +00:00
|
|
|
<div class="resource-view" resource="public_repositories">
|
|
|
|
<div class="repo-listing" ng-repeat="repository in public_repositories.value">
|
|
|
|
<span class="repo-circle no-background" repo="repository"></span>
|
|
|
|
<a ng-href="/repository/{{repository.namespace}}/{{ repository.name }}">{{repository.namespace}}/{{repository.name}}</a>
|
|
|
|
<div class="description markdown-view" content="repository.description" first-line-only="true"></div>
|
|
|
|
</div>
|
2014-01-13 19:49:05 +00:00
|
|
|
<div class="page-controls">
|
|
|
|
<button class="btn btn-default" title="Previous Page" bs-tooltip="title" ng-show="page > 1"
|
|
|
|
ng-click="movePublicPage(-1)">
|
|
|
|
<i class="fa fa-chevron-left"></i>
|
|
|
|
</button>
|
|
|
|
<button class="btn btn-default" title="Next Page" bs-tooltip="title" ng-show="page < publicPageCount"
|
|
|
|
ng-click="movePublicPage(1)">
|
|
|
|
<i class="fa fa-chevron-right"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
2013-09-26 21:59:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|