diff --git a/app/assets/stylesheets/_grids.scss b/app/assets/stylesheets/_grids.scss index 024091fb3..4efe1f317 100644 --- a/app/assets/stylesheets/_grids.scss +++ b/app/assets/stylesheets/_grids.scss @@ -1,29 +1,22 @@ -.column-whole { - @include grid-column(1/1); + +.govuk-grid-column-one-sixth { + @include govuk-grid-column(one-sixth, $class: false); } -.column-three-quarters { - @include grid-column(3/4); +.govuk-grid-column-five-sixths { + @include govuk-grid-column(five-sixths, $class: false); } -.column-one-sixth { - @include grid-column(1/6); +.govuk-grid-column-one-eighth { + @include govuk-grid-column(one-eighth, $class: false); } -.column-five-sixths { - @include grid-column(5/6); +.govuk-grid-column-five-eighths { + @include govuk-grid-column(five-eighths, $class: false); } -.column-one-eighth { - @include grid-column(1/8); -} - -.column-five-eighths { - @include grid-column(5/8); -} - -.column-seven-eighths { - @include grid-column(7/8); +.govuk-grid-column-seven-eighths { + @include govuk-grid-column(seven-eighths, $class: false); } %top-gutter, diff --git a/app/assets/stylesheets/govuk-frontend/extensions.scss b/app/assets/stylesheets/govuk-frontend/extensions.scss index dfb5d7ae7..80cce8a3b 100644 --- a/app/assets/stylesheets/govuk-frontend/extensions.scss +++ b/app/assets/stylesheets/govuk-frontend/extensions.scss @@ -35,3 +35,16 @@ .govuk-link--destructive { @include govuk-link-style-destructive-no-visited-state; } +$govuk-grid-widths: ( + one-eighth: 12.5%, + one-sixth: 16.6666%, + one-quarter: 25%, + one-third: 33.3333%, + one-half: 50%, + five-eighths: 62.5%, + two-thirds: 66.6666%, + three-quarters: 75%, + five-sixths: 83.3333%, + seven-eighths: 87.5%, + full: 100% +); diff --git a/app/templates/content_template.html b/app/templates/content_template.html index 286bce5f4..d1476c0e8 100644 --- a/app/templates/content_template.html +++ b/app/templates/content_template.html @@ -14,7 +14,7 @@
{{ sub_navigation(navigation_links) }}
-
+
{% else %}
{% endif %} diff --git a/app/templates/org_template.html b/app/templates/org_template.html index 69cd70a5c..2088b05cf 100644 --- a/app/templates/org_template.html +++ b/app/templates/org_template.html @@ -19,7 +19,7 @@
{% include "org_nav.html" %}
-
+
{% block beforeContent %}{% endblock %}
{% block content %} diff --git a/app/templates/partials/tour.html b/app/templates/partials/tour.html index 737d1605a..e4ea7f74b 100644 --- a/app/templates/partials/tour.html +++ b/app/templates/partials/tour.html @@ -3,30 +3,30 @@ {% call banner_wrapper(type='tour') %}

Try sending yourself this example

-
+

1.

-
+

Every message is sent from a template

-
+

2.

-
+

The template pulls in the data you provide

-
+

3.

-
+

Notify delivers the message

diff --git a/app/templates/views/agreement/agreement-accept.html b/app/templates/views/agreement/agreement-accept.html index 2e0aa2b1d..8a01e952a 100644 --- a/app/templates/views/agreement/agreement-accept.html +++ b/app/templates/views/agreement/agreement-accept.html @@ -13,7 +13,7 @@ {% block maincolumn_content %}
-
+
{{ page_header( 'Accept our data sharing and financial agreement', diff --git a/app/templates/views/agreement/agreement-confirm.html b/app/templates/views/agreement/agreement-confirm.html index caf6ecf08..dd21769ad 100644 --- a/app/templates/views/agreement/agreement-confirm.html +++ b/app/templates/views/agreement/agreement-confirm.html @@ -10,7 +10,7 @@ {% block maincolumn_content %}
-
+
{{ page_header( 'Confirm that you accept the agreement', diff --git a/app/templates/views/agreement/service-agreement-choose.html b/app/templates/views/agreement/service-agreement-choose.html index 1199a1469..31c466636 100644 --- a/app/templates/views/agreement/service-agreement-choose.html +++ b/app/templates/views/agreement/service-agreement-choose.html @@ -8,7 +8,7 @@ {% block maincolumn_content %}
-
+
{{ page_header( 'Accept the data sharing and financial agreement', diff --git a/app/templates/views/agreement/service-agreement-signed.html b/app/templates/views/agreement/service-agreement-signed.html index 160690b9b..0f14b14a3 100644 --- a/app/templates/views/agreement/service-agreement-signed.html +++ b/app/templates/views/agreement/service-agreement-signed.html @@ -8,7 +8,7 @@ {% block maincolumn_content %}
-
+
{{ page_header( 'Your organisation has already accepted the agreement', diff --git a/app/templates/views/agreement/service-agreement.html b/app/templates/views/agreement/service-agreement.html index ab97a5092..5f6e94468 100644 --- a/app/templates/views/agreement/service-agreement.html +++ b/app/templates/views/agreement/service-agreement.html @@ -9,7 +9,7 @@ {% block maincolumn_content %}
-
+
{{ page_header( 'Accept our data sharing and financial agreement', diff --git a/app/templates/views/api/callbacks/delivery-status-callback.html b/app/templates/views/api/callbacks/delivery-status-callback.html index e14a54b6c..c2efcacdd 100644 --- a/app/templates/views/api/callbacks/delivery-status-callback.html +++ b/app/templates/views/api/callbacks/delivery-status-callback.html @@ -10,7 +10,7 @@ {% block maincolumn_content %}
-
+
{{ page_header( 'Callbacks for delivery receipts', diff --git a/app/templates/views/api/callbacks/received-text-messages-callback.html b/app/templates/views/api/callbacks/received-text-messages-callback.html index 5adcbae1e..d592ee704 100644 --- a/app/templates/views/api/callbacks/received-text-messages-callback.html +++ b/app/templates/views/api/callbacks/received-text-messages-callback.html @@ -14,7 +14,7 @@ back_link=url_for('.api_callbacks', service_id=current_service.id) ) }}
-
+

When you receive a text message in Notify, we can forward it to your system. Check the callback documentation for more information. diff --git a/app/templates/views/choose-account.html b/app/templates/views/choose-account.html index 74d3b8293..87b593d99 100644 --- a/app/templates/views/choose-account.html +++ b/app/templates/views/choose-account.html @@ -14,7 +14,7 @@ {{ heading }}

-
+
    {% else %}
      @@ -62,7 +62,7 @@ Platform admin
-
    +
    • All organisations

      @@ -106,7 +106,7 @@

       
      -
      +
      {% endif %} {{ govukButton({ "element": "a", diff --git a/app/templates/views/edit-email-template.html b/app/templates/views/edit-email-template.html index 988b6bb09..43f6a3a34 100644 --- a/app/templates/views/edit-email-template.html +++ b/app/templates/views/edit-email-template.html @@ -18,7 +18,7 @@ {% call form_wrapper() %}
      -
      +
      {{ textbox(form.name, width='1-1', hint='Your recipients will not see this', rows=10) }} {{ textbox(form.subject, width='1-1', highlight_placeholders=True, rows=2) }} {{ textbox(form.template_content, highlight_placeholders=True, width='1-1', rows=8) }} @@ -29,7 +29,7 @@ 'Save' ) }}
      -