harness-drone/server/app/views/commit.html

34 lines
1.1 KiB
HTML
Raw Normal View History

2014-07-09 07:46:15 +00:00
<aside id="sidebar">
<div class="result" data-result="{{ commit.status }}">
<dl>
<dd><span class="status">{{ commit.status }}</span></dd>
<dd><strong>{{ commit.message }}</strong></dd>
</dl>
</div>
2014-07-09 07:46:15 +00:00
<dl>
<dd><h1>3.5 ms</h1></dd>
</dl>
<dl>
<dd class="large"><strong>commit <u>{{ commit.sha | shortHash}}</u> to <u>{{ commit.branch}}</u> branch</strong></dd>
<dd ng-if="commit.finished_at != 0">{{ commit.finished_at | fromNow }}</dd>
<dd ng-if="commit.finished_at == 0 && commit.started_at != 0">Started {{ commit.started_at | fromNow }}</dd>
<dd ng-if="commit.finished_at == 0 && commit.started_at == 0">Created {{ commit.created_at}}</dd>
</dl>
</aside>
<div id="main" class="output">
<div id="main" class="output" data-result="Failure">
<nav>
<a href="/"><span class="fa fa-th"></span></a>
<span>{{ repo.owner }}</span>
<span>/</span>
<a href="/{{ repo.host }}/{{ repo.owner }}/{{ repo.name }}">{{ repo.name }}</a>
<span>/</span>
<a href="#">{{ commit.sha | shortHash}}</a>
</nav>
<pre>{{ console }}</pre>
</div>
</div>