Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update maintenance page content #1203

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en" class="govuk-template">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>This service is currently unavailable - Claim funding for mentor training - GOV.UK</title>
<title>Sorry, the service is unavailable - Claim funding for mentor training - GOV.UK</title>
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#0b0c0c">
Expand Down Expand Up @@ -45,17 +45,16 @@
</a>
</div>
<div class="govuk-header__content">
<a class="govuk-header__link govuk-header__service-name" href="/">Claim funding for mentor</a>
<a class="govuk-header__link govuk-header__service-name" href="/">Claim funding for mentor training</a>
</div>
</div>
</header>
<div class="govuk-width-container">
<main class="govuk-main-wrapper" id="main-content" role="main">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">This service is currently unavailable</h1>
<p class="govuk-body">We're sorry the service is not available right now.</p>
<p class="govuk-body">Try again later.</p>
<h1 class="govuk-heading-l">Sorry, the service is unavailable</h1>
<p class="govuk-body">You will be able to use the service later.</p>
<p class="govuk-body">If you reached this page after submitting information then it has not been saved. You will need to enter it again when the service is available.</p>
</div>
</div>
Expand All @@ -64,11 +63,6 @@ <h1 class="govuk-heading-l">This service is currently unavailable</h1>
<footer role="contentinfo" class="govuk-footer govuk-!-display-none-print">
<div class="govuk-width-container">
<div class="govuk-footer__meta">
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
<h2 class="govuk-heading-m">Get help</h2>
<p class="govuk-body-s govuk-!-margin-bottom-1">Call 0800 389 2500 or <a class="govuk-link govuk-footer__link" href="https://getintoteaching.education.gov.uk/help-and-support?utm_source=apply-for-teacher-training.service.gov.uk&amp;utm_medium=referral&amp;utm_campaign=candidate_interface%2Fstart_page-create_account_or_sign_in&amp;utm_content=candidate_not_logged_in">chat online</a>.</p>
<p class="govuk-body-s govuk-!-margin-bottom-1">Monday to Friday, 8:30am to 5:30pm (except public&nbsp;holidays)</p>
</div>
<div class="govuk-footer__meta-item">
<a class="govuk-footer__link govuk-footer__copyright-logo govuk-!-margin-bottom-1" href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">© Crown copyright</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en" class="govuk-template">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>This service is currently unavailable - Manage school placements - GOV.UK</title>
<title>Sorry, the service is unavailable - Manage school placements - GOV.UK</title>
<meta name="robots" content="noindex, nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#0b0c0c">
Expand Down Expand Up @@ -53,9 +53,8 @@
<main class="govuk-main-wrapper" id="main-content" role="main">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-l">This service is currently unavailable</h1>
<p class="govuk-body">We're sorry the service is not available right now.</p>
<p class="govuk-body">Try again later.</p>
<h1 class="govuk-heading-l">Sorry, the service is unavailable</h1>
<p class="govuk-body">You will be able to use the service later.</p>
<p class="govuk-body">If you reached this page after submitting information then it has not been saved. You will need to enter it again when the service is available.</p>
</div>
</div>
Expand All @@ -64,11 +63,6 @@ <h1 class="govuk-heading-l">This service is currently unavailable</h1>
<footer role="contentinfo" class="govuk-footer govuk-!-display-none-print">
<div class="govuk-width-container">
<div class="govuk-footer__meta">
<div class="govuk-footer__meta-item govuk-footer__meta-item--grow">
<h2 class="govuk-heading-m">Get help</h2>
<p class="govuk-body-s govuk-!-margin-bottom-1">Call 0800 389 2500 or <a class="govuk-link govuk-footer__link" href="https://getintoteaching.education.gov.uk/help-and-support?utm_source=apply-for-teacher-training.service.gov.uk&amp;utm_medium=referral&amp;utm_campaign=candidate_interface%2Fstart_page-create_account_or_sign_in&amp;utm_content=candidate_not_logged_in">chat online</a>.</p>
<p class="govuk-body-s govuk-!-margin-bottom-1">Monday to Friday, 8:30am to 5:30pm (except public&nbsp;holidays)</p>
</div>
<div class="govuk-footer__meta-item">
<a class="govuk-footer__link govuk-footer__copyright-logo govuk-!-margin-bottom-1" href="https://www.nationalarchives.gov.uk/information-management/re-using-public-sector-information/uk-government-licensing-framework/crown-copyright/">© Crown copyright</a>
</div>
Expand Down
12 changes: 6 additions & 6 deletions maintenance_page/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ http {
root /usr/share/nginx/html;

# Request to / returns 200
index /index.html;
index /claim-funding-for-mentor-training.html;

# Request to anything else than /index.html returns 404 not found
# Request to anything else than /claim-funding-for-mentor-training.html returns 404 not found
# The maintenance page is served as error page
# And the response code is changed to 500
# The user is not redirected and if they keep refreshing, the URL remains the same
error_page 403 404 =500 /index.html;
error_page 403 404 =500 /claim-funding-for-mentor-training.html;

# Assets are relative to the URL. We capture the prefix and filename
# and serve them from the right files
Expand All @@ -60,13 +60,13 @@ http {
root /usr/share/nginx/html;

# Request to / returns 200
index /index2.html;
index /manage-school-placements.html;

# Request to anything else than /index2.html returns 404 not found
# Request to anything else than /manage-school-placements.html returns 404 not found
# The maintenance page is served as error page
# And the response code is changed to 500
# The user is not redirected and if they keep refreshing, the URL remains the same
error_page 403 404 =500 /index2.html;
error_page 403 404 =500 /manage-school-placements.html;

# Assets are relative to the URL. We capture the prefix and filename
# and serve them from the right files
Expand Down