summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/VCS/Details.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'src/marlin.web/Views/VCS/Details.cshtml')
-rw-r--r--src/marlin.web/Views/VCS/Details.cshtml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/marlin.web/Views/VCS/Details.cshtml b/src/marlin.web/Views/VCS/Details.cshtml
new file mode 100644
index 0000000..8d25472
--- /dev/null
+++ b/src/marlin.web/Views/VCS/Details.cshtml
@@ -0,0 +1,13 @@
+@using marlin.core
+@using marlin.core.models
+@model marlin.core.models.VersionControlSource
+
+<form method="post" asp-route-id="@Model.Id" asp-action="Edit">
+ URL: <input type="text" name="@nameof(VersionControlSource.UpstreamUrl)" value="@Model.UpstreamUrl"/>
+ Filter: <input type="text" name="@nameof(VersionControlSource.BranchFilter)" value="@Model.BranchFilter"/>
+ Main Branch: <input type="text" name="@nameof(VersionControlSource.MainBranch)" value="@Model.MainBranch"/>
+ Polling Interval: <input type="number" name="@nameof(VersionControlSource.MinPollingInterval)" value="@Model.MinPollingInterval"/>
+ <button type="submit">Save</button>
+</form>
+
+<a asp-action="List">Back</a> \ No newline at end of file