diff options
Diffstat (limited to 'src/marlin.web/Views/Jobs/List.cshtml')
| -rw-r--r-- | src/marlin.web/Views/Jobs/List.cshtml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/marlin.web/Views/Jobs/List.cshtml b/src/marlin.web/Views/Jobs/List.cshtml new file mode 100644 index 0000000..2c10e46 --- /dev/null +++ b/src/marlin.web/Views/Jobs/List.cshtml @@ -0,0 +1,29 @@ +@model ICollection<marlin.core.models.Job> + +<table> + <thead> + <tr> + <th>link</th> + <th>id</th> + <th>status</th> + <th>recipe</th> + <th>vcs</th> + <th>branch</th> + <th>agent</th> + </tr> + </thead> + <tbody> + @foreach (var source in Model) + { + <tr> + <td><a asp-action="Details" asp-route-id="@source.Id">open</a></td> + <td>@source.Id</td> + <td>@source.Status</td> + <td>@source.Recipe</td> + <td>@source.Source.UpstreamUrl</td> + <td>@source.Ref</td> + <td>@(source.Agent?.Name ?? "no agent assigned")</td> + </tr> + } + </tbody> +</table> |
