mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-20 23:46:49 +00:00
31 lines
962 B
HTML
31 lines
962 B
HTML
<h1>Dashboard</h1>
|
|
|
|
<a href="/new">New</a>
|
|
<a href="/profile">Settings</a>
|
|
<a href="/users" ng-if="user.admin">User Management</a>
|
|
<a href="/agents" ng-if="user.admin">Agent Management</a>
|
|
|
|
<table border="1">
|
|
<thead>
|
|
<tr>
|
|
<th>Repo</th>
|
|
<th>Status</th>
|
|
<th>Number</th>
|
|
<th>Started</th>
|
|
<th>Duration</th>
|
|
<th>Branch</th>
|
|
<th>Commit</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr ng-repeat="repo in repos">
|
|
<td><a ng-href="{{ repo.full_name }}">{{ repo.full_name }}</a></td>
|
|
<td>{{ repo.last_build.state }}</td>
|
|
<td><a ng-href="{{ repo.full_name }}/{{ repo.last_build.number }}">{{ repo.last_build.number }}</a></td>
|
|
<td>{{ repo.last_build.started_at | fromNow }}</td>
|
|
<td>{{ repo.last_build.duration | toDuration }}</td>
|
|
<td>{{ repo.last_build.head_commit.ref || repo.last_build.pull_request.source.ref }}</td>
|
|
<td>{{ repo.last_build.head_commit.sha || repo.last_build.pull_request.source.ref }}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|