2015-03-10 17:22:46 -07:00
|
|
|
<div class="resource-view repository-view"
|
|
|
|
resource="repositoryResource"
|
|
|
|
error-message="'Repository not found'">
|
2015-03-09 22:03:39 -07:00
|
|
|
<div class="page-content">
|
2017-05-25 16:04:38 -04:00
|
|
|
<!-- Application repository error -->
|
|
|
|
<div class="co-main-content-panel" ng-if="viewScope.repository.kind == 'application'">
|
|
|
|
<div class="error-view-element">
|
|
|
|
<h2><span class="repo-circle no-background" repo="viewScope.repository"></span>{{ viewScope.repository.namespace }}/{{ viewScope.repository.name }}</h2>
|
|
|
|
<h3>This name refers to an <strong>application</strong> repository</h3>
|
|
|
|
<div style="margin-bottom: 20px;">
|
|
|
|
View the <a href="/application/{{ viewScope.repository.namespace }}/{{ viewScope.repository.name }}/">{{ viewScope.repository.namespace }}/{{ viewScope.repository.name }} application</a>
|
2016-11-10 14:30:47 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-09 22:03:39 -07:00
|
|
|
</div>
|
2017-05-25 16:04:38 -04:00
|
|
|
<!-- Image repository view -->
|
|
|
|
<div ng-if="viewScope.repository.kind == 'image'">
|
2016-09-20 15:52:06 -04:00
|
|
|
<div class="cor-title">
|
|
|
|
<span class="cor-title-link">
|
|
|
|
<a class="back-link" href="/repository">
|
|
|
|
Repositories
|
|
|
|
</a>
|
2015-03-09 22:03:39 -07:00
|
|
|
</span>
|
2016-09-20 15:52:06 -04:00
|
|
|
<span class="cor-title-content">
|
|
|
|
<span class="repo-circle no-background hidden-xs" repo="viewScope.repository"></span>
|
|
|
|
{{ namespace }} / {{ name }}
|
|
|
|
<span class="repo-star hidden-xs" repository="viewScope.repository" ng-if="!user.anonymous"></span>
|
2014-02-14 22:59:44 -05:00
|
|
|
</span>
|
2016-09-20 15:52:06 -04:00
|
|
|
</div>
|
2013-09-26 17:59:20 -04:00
|
|
|
|
2017-05-29 15:39:14 -07:00
|
|
|
<cor-tab-panel orientation="vertical" cor-nav-tabs>
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tabs>
|
|
|
|
<cor-tab tab-title="Information" tab-id="info"
|
|
|
|
tab-init="showInfo()">
|
2016-09-20 15:52:06 -04:00
|
|
|
<i class="fa fa-info-circle"></i>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab>
|
2013-09-27 16:12:51 -04:00
|
|
|
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab tab-title="Tags" tab-id="tags" id="tagsTab"
|
|
|
|
tab-init="showTags()">
|
2016-09-20 15:52:06 -04:00
|
|
|
<i class="fa fa-tags"></i>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab>
|
2013-09-26 18:21:29 -04:00
|
|
|
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab tab-title="Tag History" tab-id="history" id="tagHistoryTab"
|
|
|
|
tab-init="showHistory()">
|
2017-03-03 13:25:06 -05:00
|
|
|
<i class="fa fa-history"></i>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab>
|
2017-03-03 13:25:06 -05:00
|
|
|
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab tab-title="Builds" tab-id="builds" id="buildsTab"
|
|
|
|
tab-init="showBuilds()"
|
|
|
|
quay-show="viewScope.repository.can_write && Features.BUILD_SUPPORT">
|
2016-09-20 15:52:06 -04:00
|
|
|
<i class="fa fa-tasks"></i>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab>
|
2014-03-07 21:06:31 -05:00
|
|
|
|
2016-09-20 15:52:06 -04:00
|
|
|
<!-- Admin Only Tabs -->
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab tab-title="Usage Logs" tab-id="logs" tab-init="showLogs()"
|
|
|
|
ng-show="viewScope.repository.can_admin">
|
2016-09-20 15:52:06 -04:00
|
|
|
<i class="fa fa-bar-chart"></i>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab>
|
2016-09-20 15:52:06 -04:00
|
|
|
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab tab-title="Settings" tab-id="settings" id="settingsTab"
|
|
|
|
tab-init="showSettings()"
|
|
|
|
ng-show="viewScope.repository.can_admin">
|
2016-09-20 15:52:06 -04:00
|
|
|
<i class="fa fa-gear"></i>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab>
|
|
|
|
</cor-tabs>
|
2014-03-07 21:06:31 -05:00
|
|
|
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab-content>
|
2016-09-20 15:52:06 -04:00
|
|
|
<!-- Information -->
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab-pane id="info">
|
2016-09-20 15:52:06 -04:00
|
|
|
<div class="repo-panel-info"
|
|
|
|
repository="viewScope.repository"
|
|
|
|
builds="viewScope.builds"
|
|
|
|
is-enabled="infoShown"></div>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab-pane>
|
2014-03-07 21:06:31 -05:00
|
|
|
|
2016-09-20 15:52:06 -04:00
|
|
|
<!-- Tags -->
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab-pane id="tags">
|
2016-09-20 15:52:06 -04:00
|
|
|
<div class="repo-panel-tags"
|
|
|
|
repository="viewScope.repository"
|
2018-10-23 13:26:40 -04:00
|
|
|
repository-tags="viewScope.repositoryTags"
|
2018-10-30 13:21:14 -04:00
|
|
|
tags-loading="viewScope.tagsLoading"
|
2016-09-20 15:52:06 -04:00
|
|
|
image-loader="viewScope.imageLoader"
|
|
|
|
selected-tags="viewScope.selectedTags"
|
2017-03-08 13:06:57 -05:00
|
|
|
history-filter="viewScope.historyFilter"
|
2016-09-20 15:52:06 -04:00
|
|
|
is-enabled="tagsShown"></div>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab-pane>
|
2013-11-21 16:03:11 -05:00
|
|
|
|
2017-03-03 13:25:06 -05:00
|
|
|
<!-- Tag History -->
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab-pane id="history">
|
2017-03-03 13:25:06 -05:00
|
|
|
<h3 class="tab-header">Tag History</h3>
|
|
|
|
<div class="repo-tag-history"
|
|
|
|
repository="viewScope.repository"
|
2019-01-14 14:40:09 -05:00
|
|
|
repository-tags="viewScope.repositoryTags"
|
2017-03-03 13:25:06 -05:00
|
|
|
filter="viewScope.historyFilter"
|
2017-03-03 18:41:26 -05:00
|
|
|
image-loader="viewScope.imageLoader"
|
2017-03-03 13:25:06 -05:00
|
|
|
is-enabled="historyShown"></div>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab-pane>
|
2017-03-03 13:25:06 -05:00
|
|
|
|
2016-09-20 15:52:06 -04:00
|
|
|
<!-- Builds -->
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab-pane id="builds">
|
2016-09-20 15:52:06 -04:00
|
|
|
<div class="repo-panel-builds"
|
|
|
|
repository="viewScope.repository"
|
|
|
|
builds="viewScope.builds"
|
|
|
|
is-enabled="buildsShown"></div>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab-pane>
|
2014-11-24 16:07:38 -05:00
|
|
|
|
2016-09-20 15:52:06 -04:00
|
|
|
<!-- Usage Logs -->
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab-pane id="logs" ng-if="viewScope.repository.can_admin">
|
2016-09-20 15:52:06 -04:00
|
|
|
<div class="logs-view" repository="viewScope.repository" makevisible="logsShown"></div>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab-pane>
|
2014-01-09 13:25:58 -05:00
|
|
|
|
2016-09-20 15:52:06 -04:00
|
|
|
<!-- Settings -->
|
2017-04-28 17:03:38 -04:00
|
|
|
<cor-tab-pane id="settings" ng-if="viewScope.repository.can_admin">
|
2016-09-20 15:52:06 -04:00
|
|
|
<div class="repo-panel-settings" repository="viewScope.repository"
|
|
|
|
is-enabled="settingsShown"></div>
|
2017-04-28 17:03:38 -04:00
|
|
|
</cor-tab-pane>
|
|
|
|
</cor-tab-content>
|
2017-05-29 15:39:14 -07:00
|
|
|
</cor-tab-panel>
|
|
|
|
</div>
|
2015-03-09 22:03:39 -07:00
|
|
|
</div>
|
2015-03-30 17:55:04 -04:00
|
|
|
</div>
|