diff --git a/web/src/Web.App/AssetSrc/scss/main.scss b/web/src/Web.App/AssetSrc/scss/main.scss index e62cdf8e0..2b8c5d117 100644 --- a/web/src/Web.App/AssetSrc/scss/main.scss +++ b/web/src/Web.App/AssetSrc/scss/main.scss @@ -393,7 +393,7 @@ hr.govuk-section-break--print { .app-resources { margin-top: govuk-spacing(6); - + @include govuk-media-query('tablet') { margin-top: 0; } @@ -405,4 +405,8 @@ hr.govuk-section-break--print { @include govuk-media-query('tablet') { padding-top: govuk-spacing(2); } +} + +.save-charts { + float: right; } \ No newline at end of file diff --git a/web/src/Web.App/Views/SchoolComparison/Index.cshtml b/web/src/Web.App/Views/SchoolComparison/Index.cshtml index a664c921d..d0c0b767a 100644 --- a/web/src/Web.App/Views/SchoolComparison/Index.cshtml +++ b/web/src/Web.App/Views/SchoolComparison/Index.cshtml @@ -11,6 +11,11 @@ @await Html.PartialAsync("_IncompleteFinances") } +@if (!hasMissingComparatorSet) +{ + @await Html.PartialAsync("_SaveChartsButton") +} + @await Component.InvokeAsync("EstablishmentHeading", new { title = ViewData[ViewDataKeys.Title], diff --git a/web/src/Web.App/Views/Shared/_SaveChartsButton.cshtml b/web/src/Web.App/Views/Shared/_SaveChartsButton.cshtml new file mode 100644 index 000000000..d3c25f8f8 --- /dev/null +++ b/web/src/Web.App/Views/Shared/_SaveChartsButton.cshtml @@ -0,0 +1,9 @@ +