2015-07-29 16:16:08 +00:00
|
|
|
<main>
|
|
|
|
<article>
|
2015-07-13 05:23:50 +00:00
|
|
|
|
2015-07-29 16:16:08 +00:00
|
|
|
<section class="search">
|
|
|
|
<input type="search" spellcheck="false" placeholder="Filter commits for {{ repo.full_name}}" />
|
|
|
|
<menu>
|
|
|
|
<button type="button" ng-click="unwatch(repo)" ng-if="repo.starred && user">
|
|
|
|
<i class="material-icons">visibility</i>
|
|
|
|
</button>
|
|
|
|
<button type="button" ng-click="watch(repo)" ng-if="!repo.starred && user">
|
|
|
|
<i class="material-icons">visibility_off</i>
|
|
|
|
</button>
|
|
|
|
<a href="/{{ repo.full_name }}/edit">
|
|
|
|
<i class="material-icons">tune</i>
|
|
|
|
</a>
|
|
|
|
</menu>
|
|
|
|
</section>
|
2015-07-13 05:23:50 +00:00
|
|
|
|
2015-07-30 02:51:55 +00:00
|
|
|
<div class="blankslate" ng-show="!builds.length && !loading && !error">
|
|
|
|
<i class="material-icons">settings_ethernet</i>
|
|
|
|
<span>Push code to execute your first build.<br/>Be sure to configure you build using the <em>.drone.yml</em> file.</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="alert alert-error" ng-show="!!error">
|
|
|
|
<i class="material-icons">error_outline</i>
|
|
|
|
<span>There was an error fetching the build history.</span>
|
|
|
|
</div>
|
|
|
|
|
2015-07-29 16:16:08 +00:00
|
|
|
<div>
|
|
|
|
<div class="list">
|
|
|
|
<a ng-repeat="build in builds | orderBy:'-number'" ng-href="/{{ repo.full_name }}/{{ build.number}}">
|
|
|
|
<div class="column-status">
|
|
|
|
<div class="status {{ build.status }}"></div>
|
|
|
|
</div>
|
|
|
|
<div class="column-fill">
|
|
|
|
<h2>{{ build.head_commit.message }}</h2>
|
|
|
|
<p><em>{{ build.head_commit.author.login }}</em> pushed to <em>{{ build.head_commit.branch }}</em> {{ build.started_at | fromNow }}</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
2015-07-13 05:23:50 +00:00
|
|
|
</div>
|
2015-07-29 16:16:08 +00:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</main>
|