2015-03-10 05:03:39 +00:00
|
|
|
<div class="repo-panel-info-element">
|
2015-03-11 00:22:46 +00:00
|
|
|
<!-- Repository stats and builds summary -->
|
|
|
|
<div class="repository-stats row">
|
2016-06-22 18:50:59 +00:00
|
|
|
<!-- Stats -->
|
|
|
|
<div class="col-sm-5 stat-col">
|
|
|
|
<div class="stat-title">Repository Activity</div>
|
|
|
|
|
|
|
|
<div class="stat-row">
|
|
|
|
<div class="heatmap hidden-xs hidden-sm" data="repository.stats"
|
|
|
|
item-name="action" domain="month" range="3"
|
|
|
|
start-count="-2" start-domain="months"></div>
|
|
|
|
|
|
|
|
<div class="stat visible-xs visible-sm">
|
|
|
|
<div class="stat-value">{{ getAggregatedUsage(repository.stats, 1) | abbreviated }}</div>
|
|
|
|
<div class="stat-subtitle">Yesterday</div>
|
|
|
|
</div>
|
2015-03-11 00:22:46 +00:00
|
|
|
|
2016-06-22 18:50:59 +00:00
|
|
|
<div class="stat visible-xs visible-sm">
|
|
|
|
<div class="stat-value">{{ getAggregatedUsage(repository.stats, 30) | abbreviated }}</div>
|
|
|
|
<div class="stat-subtitle">Last 30 days</div>
|
|
|
|
</div>
|
2015-03-11 00:22:46 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Builds -->
|
2016-06-22 18:50:59 +00:00
|
|
|
<div class="col-sm-7 builds-list">
|
2015-03-11 00:22:46 +00:00
|
|
|
<div class="stat-title">Recent Repo Builds</div>
|
|
|
|
|
|
|
|
<!-- Loading -->
|
|
|
|
<div class="cor-loader" ng-if="!builds"></div>
|
|
|
|
|
|
|
|
<!-- No Builds -->
|
|
|
|
<div class="empty" ng-if="builds && !builds.length">
|
|
|
|
<div class="empty-primary-msg">No builds have been run for this repository.</div>
|
2017-04-17 18:34:43 +00:00
|
|
|
<div class="empty-secondary-msg" ng-if="repository.can_write && !repository.trust_enabled">
|
2015-03-11 00:22:46 +00:00
|
|
|
Click on the <i class="fa fa-tasks" style="margin-left: 6px"></i> Builds tab to start a new build.
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Builds -->
|
|
|
|
<div ng-if="builds && builds.length">
|
2015-03-18 19:43:53 +00:00
|
|
|
<div class="build-mini-status" ng-repeat="build in builds" build="build"
|
|
|
|
is-admin="repository.can_admin"></div>
|
2015-03-11 00:22:46 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- View All -->
|
|
|
|
<a href="/repository/{{ repository.namespace }}/{{ repository.name }}?tab=builds"
|
|
|
|
class="view-all" ng-if="repository.can_admin && builds.length">
|
|
|
|
View Build History
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Repository Description -->
|
|
|
|
<div class="description-container">
|
2016-05-23 21:37:11 +00:00
|
|
|
<table class="co-fixed-table">
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
<h4 style="font-size:20px;">Description</h4>
|
2017-05-10 21:18:37 +00:00
|
|
|
<div class="description">
|
|
|
|
<markdown-input content="repository.description"
|
|
|
|
can-write="repository.can_write"
|
|
|
|
(content-changed)="updateDescription($event.content)"
|
|
|
|
field-title="repository description"></markdown-input>
|
2016-05-23 21:37:11 +00:00
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td style="width: 400px;" class="hidden-xs hidden-sm">
|
|
|
|
<div class="right-pull-controls">
|
|
|
|
<div>Pull this container with the following Docker command:</div>
|
|
|
|
<div class="copy-box" hovering-message="true" value="pullCommand"></div>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2015-03-11 00:22:46 +00:00
|
|
|
</div>
|
2016-03-22 18:15:54 +00:00
|
|
|
</div>
|