summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/VCS/List.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'src/marlin.web/Views/VCS/List.cshtml')
-rw-r--r--src/marlin.web/Views/VCS/List.cshtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/marlin.web/Views/VCS/List.cshtml b/src/marlin.web/Views/VCS/List.cshtml
new file mode 100644
index 0000000..90c3f48
--- /dev/null
+++ b/src/marlin.web/Views/VCS/List.cshtml
@@ -0,0 +1,23 @@
+@model IReadOnlyList<marlin.core.models.VersionControlSource>
+
+<a asp-action="Create">New</a>
+
+<table>
+ <thead>
+ <tr>
+ <th>link</th>
+ <th>url</th>
+ <th>filter</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.UpstreamUrl</td>
+ <td>@source.BranchFilter</td>
+ </tr>
+ }
+ </tbody>
+</table>