From bcabbd26ab479dae66a57e6434a41c27464a70e3 Mon Sep 17 00:00:00 2001 From: "NM2.8EMIUBIZ" Date: Tue, 28 Apr 2026 16:17:34 +0100 Subject: [PATCH] Added initial cshtml page for Jira roadmap including roadmap rendering logic. Added Roadmap link to footer. The CSS/styling is incomplete and Arunima will pick this up. --- .../Styles/nhsuk/pages/jira_roadmap.scss | 35 +++++ .../Views/JiraRoadmap/Index.cshtml | 138 ++++++++++++++++++ .../Views/Shared/_FooterPartial.cshtml | 1 + 3 files changed, 174 insertions(+) create mode 100644 LearningHub.Nhs.WebUI/Styles/nhsuk/pages/jira_roadmap.scss create mode 100644 LearningHub.Nhs.WebUI/Views/JiraRoadmap/Index.cshtml diff --git a/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/jira_roadmap.scss b/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/jira_roadmap.scss new file mode 100644 index 000000000..1ab563711 --- /dev/null +++ b/LearningHub.Nhs.WebUI/Styles/nhsuk/pages/jira_roadmap.scss @@ -0,0 +1,35 @@ +@use "../../abstracts/all" as *; + +.jira-roadmap-intro { + padding-left: 170px; +} + +.jira-roadmap-banner { + width: 100%; + padding-bottom: 20px; + background-color: $nhsuk-grey; +} + + +.jira-roadmap-state { + box-shadow: 0 0 0 1px $nhsuk-border-colour; + border-radius: 8px; + overflow: hidden; + margin-bottom: 16px; +} + +.jira-roadmap-state-heading { + display: inline-block; + background-color: $nhsuk-blue; + color: $nhsuk-white; + padding: 9px 20px 13px; + line-height: 1; + border-radius: 8px 0px 8px 0px; +} + +.jira-roadmap-card-body { + display: inline-block; + border-radius: 4px 0 4px 0; + padding: 4px 16px; +} + diff --git a/LearningHub.Nhs.WebUI/Views/JiraRoadmap/Index.cshtml b/LearningHub.Nhs.WebUI/Views/JiraRoadmap/Index.cshtml new file mode 100644 index 000000000..23a18a1f7 --- /dev/null +++ b/LearningHub.Nhs.WebUI/Views/JiraRoadmap/Index.cshtml @@ -0,0 +1,138 @@ +@using LearningHub.Nhs.Models.JiraRoadmap + +@model LearningHub.Nhs.Models.JiraRoadmap.RoadmapResponseDto + + + + +@{ + ViewData["Title"] = "Learning Hub Roadmap"; +} + +@section styles { + + +} + +@* *@ + + +@* @section NavBreadcrumbs { + + +} *@ + + +
+
+
+ +

Learning Hub Roadmap

+ +
+ +

+ Introduction text - needs to be replaced with approved copy. +

+
+
+
+
+ + + +
+
+
+ +
+ +
+ +
+ + + @foreach (var component in Model.Components) + { + + var anchorId = System.Text.RegularExpressions.Regex + .Replace(component.ComponentName.ToLowerInvariant(), @"[^a-z0-9]+", "-") + .Trim('-'); + + +

+ @component.ComponentName +

+ +

@component.ComponentDescription

+ + @foreach (var state in component.States) + { +
+ + + + + + @state.State + + +
+
    + + + @foreach (var issue in state.Issues) + { + +
  • + @issue.Summary +
  • + + } +
+
+ +
+ } + } + +
+ +
diff --git a/LearningHub.Nhs.WebUI/Views/Shared/_FooterPartial.cshtml b/LearningHub.Nhs.WebUI/Views/Shared/_FooterPartial.cshtml index 2c6e87651..11fe4db7b 100644 --- a/LearningHub.Nhs.WebUI/Views/Shared/_FooterPartial.cshtml +++ b/LearningHub.Nhs.WebUI/Views/Shared/_FooterPartial.cshtml @@ -17,6 +17,7 @@ + }