-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from SkillsFundingAgency/MF-401_Cooki_consent
MF-401 Cookie consent banner
- Loading branch information
Showing
4 changed files
with
97 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
src/SFA.DAS.Reservations.Web/Views/Shared/CookieBannerPartial.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<div id="global-cookie-message" data-module="cookie-banner" role="region" aria-label="cookie banner"> | ||
<div class="das-cookie-banner"> | ||
<div class="das-cookie-banner__wrapper govuk-width-container"> | ||
<h2 class="heading-large das-cookie-banner__header">Cookies</h2> | ||
<p class="das-cookie-banner__message">The <abbr title="Education and Skills Funding Agency">ESFA</abbr> uses cookies to make the site simpler.</p> | ||
<div class="das-cookie-banner__buttons"> | ||
<div class="das-cookie-banner__button-wrap das-cookie-banner__button-accept"> | ||
<button class="govuk-button das-button--outline das-cookie-banner__button" type="submit" data-accept-cookies="true" id="btn-cookie-accept">Accept cookies</button> | ||
</div> | ||
<div class="das-cookie-banner__button-wrap das-cookie-banner__button-settings"> | ||
<a class="govuk-button das-button--outline das-cookie-banner__button" role="button" id="btn-cookie-settings" | ||
asp-external-controller="CookieConsent" asp-external-action="Settings" asp-external-subdomain="accounts" | ||
class="das-navigation__link">Cookie settings</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="das-cookie-banner__confirmation govuk-width-container" tabindex="-1"> | ||
<p class="das-cookie-banner__confirmation-message"> | ||
You've accepted all cookies. You can <a class="govuk-link" asp-external-controller="CookieConsent" asp-external-action="Settings" asp-external-subdomain="accounts" id="link-cookie-settings">change your cookie settings</a> at any time. | ||
</p> | ||
<button class="das-cookie-banner__hide-button" data-hide-cookie-banner="true" id="btn-hide-cookie-banner">Hide</button> | ||
</div> | ||
</div> | ||
</div> |
25 changes: 0 additions & 25 deletions
25
src/SFA.DAS.Reservations.Web/Views/Shared/_CookieConsentPartial.cshtml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters