Skip to content

Commit

Permalink
Merge pull request #47 from bcgov/keycloak_error_page_improvements
Browse files Browse the repository at this point in the history
Add Keycloak maintenance and error pages.
  • Loading branch information
sharpedavid authored Nov 22, 2024
2 parents 5c62a8c + d369b77 commit e3e91a4
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 0 deletions.
56 changes: 56 additions & 0 deletions keycloak-apache-pages/keycloak-error.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# " class="h-100">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Drupal 9 (https://www.drupal.org)">
<meta name="MobileOptimized" content="width">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://www2.gov.bc.ca/favicon.ico" type="image/vnd.microsoft.icon">

<title>Keycloak error | Ministry of Health</title>
<link rel="stylesheet" media="all" href="./assets/css_57Qp86EJCL0nxlGSnYNcdu3JqjD582R9s08wN6vFiMs.css">
<link rel="stylesheet" media="all" href="./assets/css_hKS34UTYc1Ks7jBoy7J1LFf3pTLwnx9tQFwBRR62MeU.css">
<link rel="stylesheet" media="all" href="./assets/css_overrides.css">

</head>
<body class="bcgov d-flex flex-column h-100 maintenance-page path-frontpage text-dark">

<div class="dialog-off-canvas-main-canvas d-flex flex-column h-100" data-off-canvas-main-canvas="">
<div class="layout-container">

<header role="banner">
<img src="./assets/logo.svg" alt="Ministry of Health">

<div class="name-and-slogan">
<h1 class="site-name">
Ministry of Health
</h1>
</div>
</header>

<main>
<h2>HLTH Keycloak has encountered an unexpected error</h2>
<p>We're sorry, but an unexpected error has occurred.</p>
<p>You can try the following:</p>
<ul>
<li><strong>Re-access the application:</strong> Sometimes errors are temporary. Please try accessing the application again by using your original link or bookmark.</li>
<li><strong>Clear your browser cache:</strong> Old data might be causing the problem. Clearing your cache can help.</li>
<li><strong>Try again later:</strong> If the issue persists, please try accessing the system after some time.</li>
</ul>
<p>If the problem continues, you can reach us at:</p>
<ul>
<li>Email: <a href="mailto:[email protected]">[email protected]</a></li>
<li>Phone: <a href="tel:+2509521234">(250) 952 - 1234</a></li>
</ul>
<p>We appreciate your patience while we resolve this issue.</p>
</main>

</div>
</div>

<script src="./assets/jquery.min.js"></script>
<script src="./assets/bootstrap.bundle.js"></script>

</body></html>
49 changes: 49 additions & 0 deletions keycloak-apache-pages/keycloak-maintenance.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="en" dir="ltr" prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# " class="h-100">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Drupal 9 (https://www.drupal.org)">
<meta name="MobileOptimized" content="width">
<meta name="HandheldFriendly" content="true">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://www2.gov.bc.ca/favicon.ico" type="image/vnd.microsoft.icon">

<title>Keycloak maintenance | Ministry of Health</title>
<link rel="stylesheet" media="all" href="./assets/css_57Qp86EJCL0nxlGSnYNcdu3JqjD582R9s08wN6vFiMs.css">
<link rel="stylesheet" media="all" href="./assets/css_hKS34UTYc1Ks7jBoy7J1LFf3pTLwnx9tQFwBRR62MeU.css">
<link rel="stylesheet" media="all" href="./assets/css_overrides.css">

</head>
<body class="bcgov d-flex flex-column h-100 maintenance-page path-frontpage text-dark">

<div class="dialog-off-canvas-main-canvas d-flex flex-column h-100" data-off-canvas-main-canvas="">
<div class="layout-container">

<header role="banner">
<img src="./assets/logo.svg" alt="Ministry of Health">

<div class="name-and-slogan">
<h1 class="site-name">
Ministry of Health
</h1>
</div>
</header>

<main>
<h2>HLTH Keycloak is under maintenance</h2>
<p>The Ministry of Health Keycloak server is currently undergoing scheduled maintenance. We apologize for the inconvenience and are working hard to bring everything back online as soon as possible.</p>
<p>If you need further assistance, please feel free to contact us:</p>
<ul>
<li>Email: <a href="mailto:[email protected]">[email protected]</a></li>
<li>Phone: <a href="tel:+2509521234">(250) 952 - 1234</a></li>
</ul>
</main>

</div>
</div>

<script src="./assets/jquery.min.js"></script>
<script src="./assets/bootstrap.bundle.js"></script>

</body></html>

0 comments on commit e3e91a4

Please sign in to comment.