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