From 0579441135c664830a99c4cc8f0e149e186c3ec2 Mon Sep 17 00:00:00 2001 From: ajugo Date: Fri, 5 Aug 2022 10:45:46 +0200 Subject: [PATCH] Fix error pages [SCI-6967] (#4312) --- public/403.html | 94 +++++++++++++++++++++++++++++++++++++++++- public/404.html | 61 ++++++++++++++++++++++++++- public/422.html | 61 ++++++++++++++++++++++++++- public/500.html | 61 ++++++++++++++++++++++++++- public/error_pages.css | 91 ---------------------------------------- 5 files changed, 273 insertions(+), 95 deletions(-) delete mode 100644 public/error_pages.css diff --git a/public/403.html b/public/403.html index 9fcd2608c..33718c870 100644 --- a/public/403.html +++ b/public/403.html @@ -3,7 +3,99 @@ Access to this page is denied (403). - + diff --git a/public/404.html b/public/404.html index f6b496886..9712a464c 100644 --- a/public/404.html +++ b/public/404.html @@ -3,7 +3,66 @@ This page could not be found (404). - + diff --git a/public/422.html b/public/422.html index a703283e0..231755f73 100644 --- a/public/422.html +++ b/public/422.html @@ -3,7 +3,66 @@ The change you wanted was rejected (422) - + diff --git a/public/500.html b/public/500.html index b79f5a552..011c10ce1 100644 --- a/public/500.html +++ b/public/500.html @@ -3,7 +3,66 @@ We're sorry, but something went wrong (500) - + diff --git a/public/error_pages.css b/public/error_pages.css deleted file mode 100644 index 3bf909820..000000000 --- a/public/error_pages.css +++ /dev/null @@ -1,91 +0,0 @@ -body { - background-color: #F0F0F6; - color: #2E2F30; - text-align: center; - font-family: arial, sans-serif; - margin: 0; -} - -div.navbar { - background: #FFFFFF; - box-shadow: 0px 1px 4px rgba(35, 31, 32, 0.15); - height: 52px; - left: 0%; - position: absolute; - right: 0%; - top: 0%; -} - -div.navbar > img { - width: 121px; - height: 24px; - left: 21px; - position: absolute; - top: calc(50% - 24px/2 - 0px); -} - -div.dialog { - width: 95%; - margin: 4em auto 0; -} - -div.dialog > h1 { - color: #404048; - font-family: Lato; - font-style: normal; - font-weight: bold; - font-size: 1.5em; - line-height: 29px; - margin: 0.5em; - text-align: center; -} - -div.dialog > p { - color: #404048; - font-family: Lato; - font-style: normal; - font-weight: normal; - font-size: 1.1em; - margin: 0.5em; -} - -div.dialog > img { - margin: 1em; -} - -div.back-button { - margin-top: 3em; - text-align: center; -} - -a.back-button { - background: #104DA9; - border-radius: 4px; - color: #FFFFFF; - display: inline-block; - font-family: Lato; - font-style: normal; - font-weight: normal; - font-size: 0.9em; - margin-top: 3em; - padding: 0.8em 1em; - text-decoration: none; -} - -a.back-button > img { - filter: invert(100%); - width: 1em; - height: 1em; - margin-right: 0.5em; - vertical-align:middle; -} - -a.back-button > span { - color: #FFFFFF; - width: 1em; - height: 1em; -} - -.illustration { - margin-top: 64px !important; -}