Put cookies message back in

The cookie_message block was part of GOV.UK
template but is not included in the GOV.UK
Frontend template.

This adds it back in along with JS to set the
cookies from GOV.UK template and styles, taken
from the Design System's website (which I assume
has the right colour contrast).
This commit is contained in:
Tom Byers
2019-10-17 10:40:48 +01:00
parent 19823e8ac1
commit 7f0b207f0a
7 changed files with 100 additions and 5 deletions

View File

@@ -25,11 +25,15 @@
{% block per_page_title %}{% endblock %} GOV.UK Notify
{% endblock %}
{% block cookie_message %}
<p>
GOV.UK Notify uses cookies to make the site simpler.
<a href="{{ url_for("main.cookies") }}">Find out more about cookies</a>
</p>
{% block bodyStart %}
{% block cookie_message %}
<div class="notify-cookie-message">
<p class="govuk-width-container">
GOV.UK Notify uses cookies to make the site simpler.
<a href="{{ url_for("main.cookies") }}">Find out more about cookies</a>
</p>
</div>
{% endblock %}
{% endblock %}
{% block header %}