53 lines
1.7 KiB
HTML
53 lines
1.7 KiB
HTML
<div class="page-content">
|
|
<div class="cor-title">
|
|
<span class="cor-title-link"></span>
|
|
<span class="cor-title-content">Repositories</span>
|
|
<span class="cor-title-action" ng-if="!user.anonymous">
|
|
<a href="/new/">
|
|
<i class="fa fa-plus" data-title="Create new repository"></i>
|
|
Create New Repository
|
|
</a>
|
|
</span>
|
|
</div>
|
|
<div class="co-main-content-panel" ng-if="user.anonymous" >
|
|
<!-- The user is not logged in -->
|
|
<div class="cor-container signin-container row">
|
|
|
|
<!-- Sign In -->
|
|
<div class="col-sm-6 col-sm-offset-3">
|
|
<div class="empty-primary-msg">You must be signed in to view repositories.</div>
|
|
<div class="user-setup" redirect-url="redirectUrl"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cor-tab-panel" ng-if="!user.anonymous" >
|
|
<div class="cor-tabs">
|
|
<li class="cor-tab"><i class="fa fa-star starred"></i></li>
|
|
<li class="cor-tab" ng-repeat="namespace in namespaces">
|
|
<span class="avatar" size="36" hash="namespace.avatar"></span>
|
|
</li>
|
|
|
|
</div> <!-- /cor-tabs -->
|
|
|
|
<div class="cor-tab-content">
|
|
|
|
<!-- The user is logged in -->
|
|
<div ng-if="!user.anonymous">
|
|
|
|
<!-- Starred Repository Listing -->
|
|
<div class="repo-list-grid" repositories="starred_repositories.value" starred="true" toggle-star="toggleStar(repository)"></div>
|
|
|
|
<!-- User and Org Repository Listings -->
|
|
<div ng-repeat="namespace in namespaces">
|
|
<div class="repo-list-grid" repositories="namespace.repositories.value" starred="false" user="user" namespace="namespace" toggle-star="toggleStar(repository)"></div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|