2015-03-05 19:21:46 +00:00
|
|
|
<div class="repo-list page-content">
|
2015-02-23 20:35:07 +00:00
|
|
|
<div class="cor-title">
|
|
|
|
<span class="cor-title-link"></span>
|
2015-02-23 21:43:42 +00:00
|
|
|
<span class="cor-title-content">Repositories</span>
|
2015-03-05 17:00:36 +00:00
|
|
|
<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>
|
2015-01-09 20:55:44 +00:00
|
|
|
</div>
|
2015-03-05 19:21:46 +00:00
|
|
|
|
2015-03-05 21:17:18 +00:00
|
|
|
<!-- Loading -->
|
|
|
|
<div class="cor-loader" ng-if="loading"></div>
|
|
|
|
|
2015-03-05 19:21:46 +00:00
|
|
|
<!-- Not signed in -->
|
2015-03-05 21:17:18 +00:00
|
|
|
<div class="co-main-content-panel" ng-if="!loading && user.anonymous">
|
2015-02-23 20:35:07 +00:00
|
|
|
<!-- The user is not logged in -->
|
2015-03-05 17:00:36 +00:00
|
|
|
<div class="cor-container signin-container row">
|
2015-01-12 22:43:36 +00:00
|
|
|
|
2015-02-23 20:35:07 +00:00
|
|
|
<!-- Sign In -->
|
2015-03-05 17:00:36 +00:00
|
|
|
<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>
|
2015-02-23 20:35:07 +00:00
|
|
|
</div>
|
2014-12-11 20:06:30 +00:00
|
|
|
</div>
|
2015-03-05 17:00:36 +00:00
|
|
|
</div>
|
2015-01-12 22:43:36 +00:00
|
|
|
|
2015-03-05 19:21:46 +00:00
|
|
|
<!-- Signed in -->
|
2015-03-05 21:17:18 +00:00
|
|
|
<div class="row" ng-if="!loading && !user.anonymous">
|
2015-03-05 19:21:46 +00:00
|
|
|
<div class="col-lg-3 col-lg-push-9 col-md-3 col-md-push-9 col-sm-12">
|
|
|
|
<div class="co-main-content-panel repo-list-namespaces">
|
|
|
|
<h4>Users and Organizations</h4>
|
|
|
|
<ul class="namespaces-list">
|
|
|
|
<li ng-repeat="namespace in namespaces">
|
2015-04-03 18:58:13 +00:00
|
|
|
<a href="/user/{{ namespace.name }}" ng-if="!isOrganization(namespace.name)">
|
2015-03-30 21:55:04 +00:00
|
|
|
<span class="avatar" size="30" data="namespace.avatar"></span>
|
2015-03-05 19:21:46 +00:00
|
|
|
{{ namespace.name }}
|
2015-04-03 18:58:13 +00:00
|
|
|
</a>
|
2015-03-05 19:21:46 +00:00
|
|
|
<a href="/organization/{{ namespace.name }}" ng-if="isOrganization(namespace.name)">
|
2015-03-30 21:55:04 +00:00
|
|
|
<span class="avatar" size="30" data="namespace.avatar"></span>
|
2015-03-05 19:21:46 +00:00
|
|
|
{{ namespace.name }}
|
|
|
|
</a>
|
|
|
|
</li>
|
2015-04-06 17:52:38 +00:00
|
|
|
<li class="new-org" ng-if="!user.anonymous">
|
|
|
|
<span class="avatar" size="30" data="{'color': '#ccc', name: '+new'}"></span>
|
|
|
|
<a href="/organizations/new">Create New Organization</a>
|
|
|
|
</li>
|
2015-03-05 19:21:46 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-10-02 04:28:24 +00:00
|
|
|
|
2015-03-05 19:21:46 +00:00
|
|
|
<div class="col-lg-9 col-lg-pull-3 col-md-9 col-md-pull-3 col-sm-12">
|
|
|
|
<div class="repo-list-panel co-main-content-panel">
|
|
|
|
<!-- Starred Repository Listing -->
|
2015-03-05 21:25:16 +00:00
|
|
|
<div class="repo-list-grid" repositories-resource="starred_repositories"
|
2015-03-10 05:03:39 +00:00
|
|
|
starred="true"
|
|
|
|
star-toggled="starToggled(repository)">
|
2015-03-05 21:17:18 +00:00
|
|
|
</div>
|
2015-02-23 20:35:07 +00:00
|
|
|
|
2015-03-05 19:21:46 +00:00
|
|
|
<!-- User and Org Repository Listings -->
|
|
|
|
<div ng-repeat="namespace in namespaces">
|
2015-03-05 21:25:16 +00:00
|
|
|
<div class="repo-list-grid" repositories-resource="namespace.repositories"
|
|
|
|
starred="false" user="user" namespace="namespace"
|
2015-03-10 05:03:39 +00:00
|
|
|
star-toggled="starToggled(repository)">
|
2015-03-05 21:17:18 +00:00
|
|
|
</div>
|
2015-03-05 19:21:46 +00:00
|
|
|
</div>
|
2015-02-23 20:35:07 +00:00
|
|
|
</div>
|
2013-10-02 04:28:24 +00:00
|
|
|
</div>
|
2015-03-05 19:21:46 +00:00
|
|
|
</div>
|
2015-03-05 17:00:36 +00:00
|
|
|
|
|
|
|
|
2013-09-26 21:59:20 +00:00
|
|
|
</div>
|
2015-02-23 20:35:07 +00:00
|
|
|
|