2020-01-09 09:48:07 +00:00
{% macro cookie_banner(id='global-cookie-message') %}
2020-01-03 16:03:05 +00:00
2020-01-14 12:11:40 +00:00
< div id = "{{ id }}" class = "notify-cookie-banner" data-module = "cookie-banner" role = "region" aria-describedby = "notify-cookie-banner__heading" >
2020-01-06 16:52:03 +00:00
< div class = "notify-cookie-banner__wrapper govuk-width-container" >
2020-01-08 14:00:09 +00:00
< h2 class = "notify-cookie-banner__heading govuk-heading-m" id = "notify-cookie-banner__heading" > Can we store analytics cookies on your device?< / h2 >
< p class = "govuk-body" > Analytics cookies help us understand how our website is being used.< / p >
2020-01-08 09:43:34 +00:00
< div class = "notify-cookie-banner__buttons" >
2020-01-09 16:21:12 +00:00
< button class = "govuk-button notify-cookie-banner__button notify-cookie-banner__button-accept" type = "submit" data-accept-cookies = "true" aria-describedby = "notify-cookie-banner__heading" >
2020-01-09 09:38:26 +00:00
Yes< span class = "govuk-visually-hidden" > , Notify can store analytics cookies on your device< / span >
2020-01-09 16:21:12 +00:00
< / button >
< button class = "govuk-button notify-cookie-banner__button notify-cookie-banner__button-reject" type = "submit" data-accept-cookies = "false" aria-describedby = "notify-cookie-banner__heading" >
2020-01-09 09:38:26 +00:00
No< span class = "govuk-visually-hidden" > , Notify cannot store analytics cookies on your device< / span >
2020-01-09 16:21:12 +00:00
< / button >
2020-01-08 14:00:09 +00:00
< a class = "govuk-link notify-cookie-banner__link" href = "/cookies" > How Notify uses cookies< / a >
2020-01-03 16:03:05 +00:00
< / div >
< / div >
< div class = "notify-cookie-banner__confirmation govuk-width-container" tabindex = "-1" >
< p class = "notify-cookie-banner__confirmation-message govuk-body" >
You can < a class = "govuk-link" href = "/cookies" > change your cookie settings< / a > at any time.
< / p >
2020-08-05 10:47:00 +01:00
< button class = "notify-cookie-banner__hide-button govuk-link" data-hide-cookie-banner = "true" role = "link" > Hide< span class = "govuk-visually-hidden" > cookies message< / span > < / button >
2020-01-03 16:03:05 +00:00
< / div >
< / div >
{% endmacro %}