blob: 968a94f5c81ffdf52d413d2fb10f993e8c519673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
@model ICollection<Job>
<a asp-action="Spawn">Spawn new...</a>
<table>
<thead>
<tr>
<th>id</th>
<th>status</th>
<th>recipe</th>
<th>vcs</th>
<th>branch</th>
<th>agent</th>
<th>created</th>
</tr>
</thead>
<tbody>
@foreach (var source in Model)
{
<tr>
<td><a asp-action="Details" asp-route-id="@source.Id">@source.Id</a></td>
<td>@source.Status</td>
<td>@source.Recipe</td>
<td>@source.Source.UpstreamUrl</td>
<td>@source.Branch.Name</td>
<td>@(source.Agent?.Name ?? "no agent assigned")</td>
<td>@(source.CreatedReason)</td>
</tr>
}
</tbody>
</table>
|