Skip to content

Commit

Permalink
Merge pull request #161 from ukhsa-collaboration/march_2024
Browse files Browse the repository at this point in the history
fixing summary button and phase tag
  • Loading branch information
tiernanmulberry-ukhsa authored Mar 7, 2024
2 parents 24c937e + 4f7edfd commit 4d822fc
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
9 changes: 5 additions & 4 deletions runner/src/client/sass/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@import "modal-dialog";
@import "upload-dialog";


.flash-card {
.govuk-button {
background: #fff;
Expand Down Expand Up @@ -66,7 +65,6 @@
&--hidden-titles {
@extend .govuk-visually-hidden;
}

}
&__key {
&--hidden-titles {
Expand All @@ -75,7 +73,10 @@
}
}


.govuk-header__logotype {
fill:white;
fill: white;
}

.govuk-phase-banner__content__tag {
text-transform: capitalize;
}
39 changes: 21 additions & 18 deletions runner/src/server/views/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,24 +101,27 @@ <h2 class="govuk-heading-m" id="declaration">Declaration</h2>
</div>
{% endif %}

<div class="govuk-grid-column-two-thirds">
{% if result.error %} {% endif %}
<button
data-prevent-double-click="true"
{%
if
result.error
%}
disabled
{%
endif
%}
class="govuk-button"
data-module="govuk-button"
>
{% if fees and fees.details|length %} Submit and pay {% else %}
Submit {% endif %}
</button>
<div class="govuk-grid-column-two-thirds" style="margin-top: 20px;">
<div class="govuk-button-group">
{% if result.error %} {% endif %}
<button
data-prevent-double-click="true"
{%
if
result.error
%}
disabled
{%
endif
%}
class="govuk-button"
data-module="govuk-button"
>
{% if fees and fees.details|length %} Submit and pay {% else %}
Submit {% endif %}
</button>
</div>


{% if result.error %}
<label id="form-error" class="govuk-error-message">
Expand Down

0 comments on commit 4d822fc

Please sign in to comment.