45 lines
1.5 KiB
HTML
45 lines
1.5 KiB
HTML
|
<div class="resource-view" resource="repository" error-message="'No repository found'"></div>
|
||
|
<div class="container repo repo-build" ng-show="repo && !deleting">
|
||
|
<div class="header row">
|
||
|
<a href="{{ '/repository/' + repo.namespace + '/' + repo.name }}" class="back"><i class="fa fa-chevron-left"></i></a>
|
||
|
<h3>
|
||
|
<span class="repo-circle no-background" repo="repo"></span>
|
||
|
<span class="repo-breadcrumb" repo="repo"></span>
|
||
|
</h3>
|
||
|
</div>
|
||
|
|
||
|
<div class="row" ng-show="!repo.is_building">
|
||
|
There are no active builds for this repository
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="row" ng-show="repo.is_building">
|
||
|
<!-- Side tabs -->
|
||
|
<div class="col-md-2">
|
||
|
<ul class="nav nav-pills nav-stacked">
|
||
|
<li ng-class="currentBuild == build ? 'active' : ''" ng-repeat="build in builds">
|
||
|
<a href="javascript:void(0)" ng-click="setCurrentBuild(build.id, true)">
|
||
|
<span class="phase-icon" ng-class="build.phase"></span>
|
||
|
<span>{{ getShortId(build.id) }}</span>
|
||
|
</a>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
|
||
|
<!-- Content -->
|
||
|
<div class="col-md-10">
|
||
|
|
||
|
<div class="tab-content">
|
||
|
<div ng-repeat="build in builds" class="tab-pane" ng-class="currentBuild == build ? 'active' : ''">
|
||
|
<div>{{ build.id }}</div>
|
||
|
<div>
|
||
|
<span class="phase-icon" ng-class="build.phase"></span>
|
||
|
<span class="build-message" build="build"></span>
|
||
|
<div class="build-progress" build="build"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|