2013-10-01 20:42:20 +00:00
|
|
|
<div class="loading" ng-show="loading">
|
2013-10-24 21:41:37 +00:00
|
|
|
<i class="fa fa-spinner fa-spin fa-3x"></i>
|
2013-10-01 20:42:20 +00:00
|
|
|
</div>
|
|
|
|
|
2013-10-11 03:42:03 +00:00
|
|
|
<div class="container ready-indicator" ng-show="!loading" data-status="{{ loading ? '' : 'ready' }}">
|
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>
|
|
|
|
|
|
|
|
<div ng-show="user_repositories.length > 0">
|
|
|
|
<div class="repo-listing" ng-repeat="repository in user_repositories">
|
2013-10-22 05:26:14 +00:00
|
|
|
<span class="repo-circle no-background" repo="repository"></span>
|
2013-10-10 23:06:04 +00:00
|
|
|
<a ng-href="/repository/{{repository.namespace}}/{{ repository.name }}">{{repository.namespace}}/{{repository.name}}</a>
|
2013-11-05 00:36:56 +00:00
|
|
|
<div class="description markdown-view" content="repository.description" first-line-only="true"></div>
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2013-11-07 02:52:31 +00:00
|
|
|
<div ng-show="user_repositories.length == 0" style="padding:20px;">
|
2013-10-02 04:28:24 +00:00
|
|
|
<div class="alert alert-info">
|
2013-11-07 02:52:31 +00:00
|
|
|
<h4 ng-show="namespace == user.username">You don't have any repositories yet!</h4>
|
|
|
|
<h4 ng-show="namespace != user.username">This organization does not have any repositories yet!</h4>
|
2013-10-10 23:06:04 +00:00
|
|
|
<a href="/guide"><b>Click here</b> to learn how to create a repository</a>
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="repo-list">
|
|
|
|
<h3>Top Public Repositories</h3>
|
|
|
|
<div class="repo-listing" ng-repeat="repository in public_repositories">
|
2013-10-22 05:26:14 +00:00
|
|
|
<span class="repo-circle no-background" repo="repository"></span>
|
2013-10-10 23:06:04 +00:00
|
|
|
<a ng-href="/repository/{{repository.namespace}}/{{ repository.name }}">{{repository.namespace}}/{{repository.name}}</a>
|
2013-11-05 00:36:56 +00:00
|
|
|
<div class="description markdown-view" content="repository.description" first-line-only="true"></div>
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
2013-09-26 21:59:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|