From df0737e55afeb5c01eb39909605970d1d3a73ffc Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Sun, 13 Sep 2026 13:22:20 +1000 Subject: refactor: cleanup; feat: connection to agent --- src/marlin.web/Views/VCS/Blobs.cshtml | 22 ++++++++++++++++++++++ src/marlin.web/Views/VCS/Details.cshtml | 12 ++++++++++++ src/marlin.web/Views/VCS/List.cshtml | 2 +- src/marlin.web/Views/VCS/ListSecret.cshtml | 2 +- src/marlin.web/Views/VCS/Workflow.cshtml | 18 ++++++++++++++++++ 5 files changed, 54 insertions(+), 2 deletions(-) create mode 100644 src/marlin.web/Views/VCS/Blobs.cshtml create mode 100644 src/marlin.web/Views/VCS/Workflow.cshtml (limited to 'src/marlin.web/Views/VCS') diff --git a/src/marlin.web/Views/VCS/Blobs.cshtml b/src/marlin.web/Views/VCS/Blobs.cshtml new file mode 100644 index 0000000..ab35260 --- /dev/null +++ b/src/marlin.web/Views/VCS/Blobs.cshtml @@ -0,0 +1,22 @@ +@using System.Text +@model ICollection + + + + + + + + + + @foreach (var source in Model) + { + + + + + } + +
pathsize
@source.Path@source.Content.Length bytes
+ +back diff --git a/src/marlin.web/Views/VCS/Details.cshtml b/src/marlin.web/Views/VCS/Details.cshtml index 45c1a8f..a9ef0ea 100644 --- a/src/marlin.web/Views/VCS/Details.cshtml +++ b/src/marlin.web/Views/VCS/Details.cshtml @@ -25,6 +25,7 @@ branch commit + status @@ -34,6 +35,17 @@ @(branch.Name == Model.Source.MainBranch ? "@" : "") @branch.Name @branch.Commit.Hash + + @if (branch.Commit.BlobsFetched) + { + blobs + } + + @if (branch.Commit.WorkflowScanned) + { + workflow + } + } diff --git a/src/marlin.web/Views/VCS/List.cshtml b/src/marlin.web/Views/VCS/List.cshtml index 4c248e4..f109c92 100644 --- a/src/marlin.web/Views/VCS/List.cshtml +++ b/src/marlin.web/Views/VCS/List.cshtml @@ -1,4 +1,4 @@ -@model ICollection +@model ICollection New diff --git a/src/marlin.web/Views/VCS/ListSecret.cshtml b/src/marlin.web/Views/VCS/ListSecret.cshtml index aa5f15c..25db7fe 100644 --- a/src/marlin.web/Views/VCS/ListSecret.cshtml +++ b/src/marlin.web/Views/VCS/ListSecret.cshtml @@ -1,4 +1,4 @@ -@model (marlin.core.models.VersionControlSource Source, List Secrets) +@model (VersionControlSource Source, List Secrets) New 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 + +

Workflow snapshot for @Model.Commit.Hash

+ +@foreach (var recipe in Model.Workflow.Recipes) +{ +
+

@recipe.Value.Name

+
    + @foreach (var step in recipe.Value.Steps) + { +
  1. @step.Value.Name
  2. + } +
+
+} + +back -- cgit v1.3.1