From 88ee626cb3686dc176cd7911b073c4e65fa54d34 Mon Sep 17 00:00:00 2001 From: Melodi <62381002+Melodi17@users.noreply.github.com> Date: Mon, 14 Sep 2026 06:15:40 +1000 Subject: feat: ui cleanup --- src/marlin.web/Views/VCS/Details.cshtml | 74 ++++++++++++++++++++------------- 1 file changed, 46 insertions(+), 28 deletions(-) (limited to 'src/marlin.web/Views/VCS/Details.cshtml') diff --git a/src/marlin.web/Views/VCS/Details.cshtml b/src/marlin.web/Views/VCS/Details.cshtml index a9ef0ea..44fa91e 100644 --- a/src/marlin.web/Views/VCS/Details.cshtml +++ b/src/marlin.web/Views/VCS/Details.cshtml @@ -1,55 +1,73 @@ @using marlin.core @using marlin.core.models -@using marlin.web.Controllers -@model (VersionControlSource Source, List SecretOptions) +@model VersionControlSource -
- URL:
- Filter:
- Main Branch:
- Polling Interval:
- Access Secret: -
- -
+
+
+

Details

+
+
+
+
URL
+
+
Filter
+
+ +
Polling Interval
+
+
+ + + Secrets + Back +
+
+
+
+ +

Branches

+
- - + - @foreach (var branch in Model.Source.Branches) + @foreach (var branch in Model.Branches.OrderByDescending(b => b.Name == Model.MainBranch)) { - - - + + } -
branch commitstatusactions
@(branch.Name == Model.Source.MainBranch ? "@" : "")@branch.Name
+ @branch.Name + @if (branch.Name == Model.MainBranch) + { + (primary) + } + @branch.Commit.Hash @if (branch.Commit.BlobsFetched) { blobs } - + @if (branch.Commit.WorkflowScanned) { workflow } + + @if (branch.Name != Model.MainBranch) + { +
+ + +
+ }
- -Secrets -Back + \ No newline at end of file -- cgit v1.3.1