2015-03-11 00:22:46 +00:00
|
|
|
<div class="resource-view repository-view"
|
|
|
|
resource="repositoryResource"
|
|
|
|
error-message="'Repository not found'">
|
2015-03-10 05:03:39 +00:00
|
|
|
<div class="page-content">
|
2016-09-20 19:52:06 +00:00
|
|
|
<!-- New Public Repo Page experiment -->
|
2016-10-14 18:29:14 +00:00
|
|
|
<div ng-if="newRepoExperiment" class="main-panel">
|
2016-10-10 22:48:45 +00:00
|
|
|
<!-- Test React Component -->
|
2016-10-14 18:23:43 +00:00
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<div>This is using the generic react-component directive</div>
|
|
|
|
<react-component name="test-component" props="reactProps"/>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>This is creating a specific directive corresponding to a react component</div>
|
|
|
|
<test-component first-prop="reactProps.firstProp" second-prop="reactProps.secondProp"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-10 05:03:39 +00:00
|
|
|
</div>
|
2016-09-20 19:52:06 +00:00
|
|
|
<!-- Old Repo Page -->
|
|
|
|
<div ng-if="!newRepoExperiment">
|
|
|
|
<div class="cor-title">
|
|
|
|
<span class="cor-title-link">
|
|
|
|
<a class="back-link" href="/repository">
|
|
|
|
Repositories
|
|
|
|
</a>
|
2015-03-10 05:03:39 +00:00
|
|
|
</span>
|
2016-09-20 19:52:06 +00: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-15 03:59:44 +00:00
|
|
|
</span>
|
2016-09-20 19:52:06 +00:00
|
|
|
</div>
|
2013-09-26 21:59:20 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<div class="cor-tab-panel">
|
|
|
|
<div class="cor-tabs">
|
|
|
|
<span class="cor-tab" tab-active="true" tab-title="Information" tab-target="#info"
|
|
|
|
tab-init="showInfo()">
|
|
|
|
<i class="fa fa-info-circle"></i>
|
|
|
|
</span>
|
2013-09-27 20:12:51 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<span class="cor-tab" tab-title="Tags" tab-target="#tags" id="tagsTab"
|
|
|
|
tab-init="showTags()">
|
|
|
|
<i class="fa fa-tags"></i>
|
|
|
|
</span>
|
2013-09-26 22:21:29 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<span class="cor-tab" tab-title="Builds" tab-target="#builds" id="buildsTab"
|
|
|
|
tab-init="showBuilds()"
|
|
|
|
quay-show="viewScope.repository.can_write && Features.BUILD_SUPPORT">
|
|
|
|
<i class="fa fa-tasks"></i>
|
|
|
|
</span>
|
2014-03-08 02:06:31 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<span class="cor-tab" tab-title="Visualize" tab-target="#changes"
|
|
|
|
tab-shown="handleChangesState(true)"
|
|
|
|
tab-hidden="handleChangesState(false)">
|
|
|
|
<i class="fa fa-code-fork"></i>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<!-- Admin Only Tabs -->
|
|
|
|
<span class="cor-tab" tab-title="Usage Logs" tab-target="#logs" tab-init="showLogs()"
|
|
|
|
ng-show="viewScope.repository.can_admin">
|
|
|
|
<i class="fa fa-bar-chart"></i>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class="cor-tab" tab-title="Settings" tab-target="#settings" id="settingsTab"
|
|
|
|
tab-init="showSettings()"
|
|
|
|
ng-show="viewScope.repository.can_admin">
|
|
|
|
<i class="fa fa-gear"></i>
|
|
|
|
</span>
|
|
|
|
</div> <!-- /cor-tabs -->
|
2014-03-08 02:06:31 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<div class="cor-tab-content">
|
|
|
|
<!-- Information -->
|
|
|
|
<div id="info" class="tab-pane active">
|
|
|
|
<div class="repo-panel-info"
|
|
|
|
repository="viewScope.repository"
|
|
|
|
builds="viewScope.builds"
|
|
|
|
is-enabled="infoShown"></div>
|
|
|
|
</div>
|
2014-03-08 02:06:31 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<!-- Tags -->
|
|
|
|
<div id="tags" class="tab-pane">
|
|
|
|
<div class="repo-panel-tags"
|
|
|
|
repository="viewScope.repository"
|
|
|
|
image-loader="viewScope.imageLoader"
|
|
|
|
selected-tags="viewScope.selectedTags"
|
|
|
|
is-enabled="tagsShown"></div>
|
|
|
|
</div>
|
2013-11-21 21:03:11 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<!-- Builds -->
|
|
|
|
<div id="builds" class="tab-pane">
|
|
|
|
<div class="repo-panel-builds"
|
|
|
|
repository="viewScope.repository"
|
|
|
|
builds="viewScope.builds"
|
|
|
|
is-enabled="buildsShown"></div>
|
|
|
|
</div>
|
2014-11-24 21:07:38 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<!-- Changes -->
|
|
|
|
<div id="changes" class="tab-pane">
|
|
|
|
<div class="repo-panel-changes"
|
|
|
|
repository="viewScope.repository"
|
|
|
|
image-loader="viewScope.imageLoader"
|
|
|
|
selected-tags="viewScope.selectedTags"
|
|
|
|
is-enabled="viewScope.changesVisible"></div>
|
|
|
|
</div>
|
2014-02-15 03:59:44 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<!-- Usage Logs -->
|
|
|
|
<div id="logs" class="tab-pane" ng-if="viewScope.repository.can_admin">
|
|
|
|
<div class="logs-view" repository="viewScope.repository" makevisible="logsShown"></div>
|
|
|
|
</div>
|
2014-01-09 18:25:58 +00:00
|
|
|
|
2016-09-20 19:52:06 +00:00
|
|
|
<!-- Settings -->
|
|
|
|
<div id="settings" class="tab-pane" ng-if="viewScope.repository.can_admin">
|
|
|
|
<div class="repo-panel-settings" repository="viewScope.repository"
|
|
|
|
is-enabled="settingsShown"></div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- /cor-tab-content -->
|
|
|
|
</div>
|
2015-03-10 05:03:39 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-30 21:55:04 +00:00
|
|
|
</div>
|