diff --git a/Pages/Index.cshtml b/Pages/Index.cshtml index b5f0c15..0663266 100644 --- a/Pages/Index.cshtml +++ b/Pages/Index.cshtml @@ -1,10 +1,52 @@ @page @model IndexModel @{ - ViewData["Title"] = "Home page"; + ViewData["Title"] = "Builds"; }
+ +Package | +Version | +Build status | +Log | +|||
---|---|---|---|---|---|---|
@p.Name | + @if (p.CurrentVersion == p.RepoVersion) + { +up-to-date @p.RepoVersion | + } + else + { +pending update @p.RepoVersion @p.CurrentVersion | + } + @if (p.LastBuildSucceeded) + { +Build passing | + } + else + { +Build failing | + } + @if (System.IO.File.Exists(System.IO.Path.Combine(Program.Repo._pkgpath, p.Name, "buildlog.txt"))) + { +View Build log | + } + else + { +no logfile found | + } +
Use this page to detail your site's privacy policy.
diff --git a/Pages/Privacy.cshtml.cs b/Pages/Privacy.cshtml.cs deleted file mode 100644 index ed6ae81..0000000 --- a/Pages/Privacy.cshtml.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; - -namespace repomgr.Pages -{ - public class PrivacyModel : PageModel - { - public void OnGet() - { - } - } -} \ No newline at end of file diff --git a/Pages/Shared/_CookieConsentPartial.cshtml b/Pages/Shared/_CookieConsentPartial.cshtml deleted file mode 100644 index 7df65c4..0000000 --- a/Pages/Shared/_CookieConsentPartial.cshtml +++ /dev/null @@ -1,25 +0,0 @@ -@using Microsoft.AspNetCore.Http.Features - -@{ - var consentFeature = Context.Features.Get