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">
|
|
|
|
<!-- Pull Stats -->
|
|
|
|
<div class="col-sm-3 stat-col">
|
|
|
|
<div class="stat-title">Repo Pulls</div>
|
|
|
|
|
|
|
|
<div class="stat">
|
2015-04-27 18:43:55 +00:00
|
|
|
<div class="stat-value">{{ repository.stats.pulls.today | abbreviated }}</div>
|
2015-03-11 00:22:46 +00:00
|
|
|
<div class="stat-subtitle">Last 24 hours</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="stat">
|
2015-04-27 18:43:55 +00:00
|
|
|
<div class="stat-value">{{ repository.stats.pulls.thirty_day | abbreviated }}</div>
|
2015-03-11 00:22:46 +00:00
|
|
|
<div class="stat-subtitle">Last 30 days</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Push Stats -->
|
|
|
|
<div class="col-sm-3 stat-col">
|
|
|
|
<div class="stat-title">Repo Pushes</div>
|
|
|
|
|
|
|
|
<div class="stat">
|
2015-04-27 18:43:55 +00:00
|
|
|
<div class="stat-value">{{ repository.stats.pushes.today | abbreviated }}</div>
|
2015-03-11 00:22:46 +00:00
|
|
|
<div class="stat-subtitle">Last 24 hours</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="stat">
|
2015-04-27 18:43:55 +00:00
|
|
|
<div class="stat-value">{{ repository.stats.pushes.thirty_day | abbreviated }}</div>
|
2015-03-11 00:22:46 +00:00
|
|
|
<div class="stat-subtitle">Last 30 days</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Builds -->
|
2015-03-18 16:11:40 +00:00
|
|
|
<div class="col-sm-6 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>
|
2015-03-13 22:34:28 +00:00
|
|
|
<div class="empty-secondary-msg" ng-if="repository.can_write">
|
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">
|
2015-03-19 19:08:18 +00:00
|
|
|
|
|
|
|
<!-- Pull Controls -->
|
|
|
|
<div class="right-controls hidden-sm hidden-xs">
|
2015-03-19 19:10:16 +00:00
|
|
|
Pull Full Repository: <div class="copy-box" hovering-message="true" value="pullCommand"></div>
|
2015-03-19 19:08:18 +00:00
|
|
|
</div>
|
|
|
|
|
2015-03-11 00:22:46 +00:00
|
|
|
<h4 style="font-size:20px;">Description</h4>
|
2015-03-19 19:08:18 +00:00
|
|
|
|
2015-03-11 00:22:46 +00:00
|
|
|
<div class="description markdown-input"
|
|
|
|
content="repository.description"
|
|
|
|
can-write="repository.can_write"
|
|
|
|
content-changed="updateDescription"
|
|
|
|
field-title="'repository description'">
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-10 05:03:39 +00:00
|
|
|
</div>
|