summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/VCS/CreateSecret.cshtml
diff options
context:
space:
mode:
authorMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-06 09:02:31 +1000
committerMelodi <62381002+Melodi17@users.noreply.github.com>2026-09-06 09:02:31 +1000
commita9bc03fb01b5d1ac41bf5592f384d22df5425aa4 (patch)
tree16ae13e19d2a3cd7488202c30790d09557559d70 /src/marlin.web/Views/VCS/CreateSecret.cshtml
parentc00992ffad24212c4398736efd6d707d4cb0cc0d (diff)
feat: vcs and secret management support
Diffstat (limited to 'src/marlin.web/Views/VCS/CreateSecret.cshtml')
-rw-r--r--src/marlin.web/Views/VCS/CreateSecret.cshtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/marlin.web/Views/VCS/CreateSecret.cshtml b/src/marlin.web/Views/VCS/CreateSecret.cshtml
new file mode 100644
index 0000000..6453056
--- /dev/null
+++ b/src/marlin.web/Views/VCS/CreateSecret.cshtml
@@ -0,0 +1,12 @@
+@using marlin.core.models
+@model VersionControlSource
+
+<form method="post" asp-action="CreateSecret" asp-route-sourceId="@Model.Id">
+ Label: <input type="text" name="Label"/><br/>
+ Kind: <input type="text" name="Kind"/><br/>
+ May Reveal: <input type="checkbox" name="MayReveal" value="true"/><br/>
+ Content (JSON): <textarea name="ContentJson">{}</textarea><br/>
+ <button type="submit">Create</button>
+</form>
+
+<a asp-action="ListSecret" asp-route-sourceId="@Model.Id">Back</a>