summaryrefslogtreecommitdiff
path: root/src/marlin.web/Views/VCS/Workflow.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'src/marlin.web/Views/VCS/Workflow.cshtml')
-rw-r--r--src/marlin.web/Views/VCS/Workflow.cshtml18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/marlin.web/Views/VCS/Workflow.cshtml b/src/marlin.web/Views/VCS/Workflow.cshtml
new file mode 100644
index 0000000..da32ab1
--- /dev/null
+++ b/src/marlin.web/Views/VCS/Workflow.cshtml
@@ -0,0 +1,18 @@
+@model WorkflowSnapshot
+
+<h2>Workflow snapshot for @Model.Commit.Hash</h2>
+
+@foreach (var recipe in Model.Workflow.Recipes)
+{
+ <section>
+ <h3>@recipe.Value.Name</h3>
+ <ol>
+ @foreach (var step in recipe.Value.Steps)
+ {
+ <li>@step.Value.Name</li>
+ }
+ </ol>
+ </section>
+}
+
+<a asp-action="Details" asp-route-id="@Model.Commit.SourceId">back</a>