-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update error pages, create timeout error page, and remove list--boxes…
… as this shouldn't be used anymore (#531) * Update error pages, create timeout error page, and remove list--boxes as this shouldn't be used anymore * Edited Error page content * Remove double hyphen * Correct Will's content for him
- Loading branch information
Showing
10 changed files
with
101 additions
and
112 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
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
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
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
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
29 changes: 29 additions & 0 deletions
29
src/patterns/error-status-pages/examples/timeout-error/index.njk
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,29 @@ | ||
--- | ||
layout: none | ||
--- | ||
{% extends "styles/page-template/_template.njk" %} | ||
{% from "components/panel/_macro.njk" import onsPanel %} | ||
|
||
{% set page = { | ||
"title": "Service name", | ||
"footer": { | ||
"OGLLink": { | ||
"pre": 'All content is available under the', | ||
"link": 'Open Government Licence v3.0', | ||
"url": 'https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/', | ||
"post": ', except where otherwise stated' | ||
} | ||
} | ||
} %} | ||
|
||
{% block main %} | ||
<h1>Your session has timed out due to inactivity</h1> | ||
|
||
{% call onsPanel({ | ||
"classes": "u-mb-m" | ||
}) %} | ||
<p>To protect your information we have timed you out.</p> | ||
{% endcall %} | ||
|
||
<p>We have saved your progress and you will need to <a href="#">enter your unique code</a> to access the survey again.</p> | ||
{% endblock %} |
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
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 |
---|---|---|
|
@@ -69,3 +69,8 @@ h4 { | |
.u-lighter { | ||
color: $color-text-light; | ||
} | ||
|
||
.u-f-mono { | ||
font-family: $font-mono; | ||
letter-spacing: 0.1em; | ||
} |
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
This file was deleted.
Oops, something went wrong.