Alexandros Ioannides 6 лет назад
Родитель
Сommit
41fbfb03f3
4 измененных файлов с 452 добавлено и 0 удалено
  1. 113 0
      web/error/403.html
  2. 113 0
      web/error/404.html
  3. 113 0
      web/error/410.html
  4. 113 0
      web/error/50x.html

+ 113 - 0
web/error/403.html

@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta http-equiv="X-UA-Compatible" content="ie=edge">
+<title>Access Denied</title>
+<style type="text/css">
+    body {
+        background-color: #f5f5f5;
+        margin-top: 8%;
+        color: #5d5d5d;
+        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
+        text-shadow: 0px 1px 1px rgba(255,255,255,0.75);
+        text-align: center !important;
+    }
+
+    h1 {
+        font-size: 2.45em;
+        font-weight: 700;
+        color: #5d5d5d;
+        letter-spacing: -0.02em;
+        margin-bottom: 30px;
+        margin-top: 30px;
+    }
+
+    .container {
+        width: 100%;
+        margin-right: auto;
+        margin-left: auto;
+    }
+
+    .animated {
+        -webkit-animation-duration: 1s;
+        animation-duration: 1s;
+        -webkit-animation-fill-mode: both;
+        animation-fill-mode: both;
+    }
+
+    .fadeIn {
+        -webkit-animation-name: fadeIn;
+        animation-name: fadeIn;
+    }
+
+    .info {
+        color:#5594cf;
+        fill:#5594cf;
+    }
+
+    .error {
+        color:#c92127;
+        fill:#c92127;
+    }
+
+    .warning {
+        color:#ffcc33;
+        fill:#ffcc33;
+    }
+
+    .success {
+        color:#5aba47;
+        fill:#5aba47;
+    }
+
+    .icon-large {
+        height: 132px;
+        width: 132px;
+    }
+
+    .description-text {
+        color: #707070;
+        letter-spacing: -0.01em;
+        font-size: 1.25em;
+        line-height: 20px;
+    }
+
+    .footer {
+        margin-top: 40px;
+        font-size: 0.7em;
+    }
+
+    .delay-1s {
+        -webkit-animation-delay: 1s;
+        animation-delay: 1s;
+    }
+
+    @keyframes fadeIn {
+        from { opacity: 0; }
+        to   { opacity: 1; }
+    }
+
+</style>
+</head>
+<body>
+<div class="container text-center">
+    <div class="row">
+        <div class="col">
+            <div class="animated fadeIn">
+                <svg class="error icon-large fa-times-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
+                    <path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"></path>
+                </svg>
+            </div>
+            <h1 class="animated fadeIn">Access Denied</h1>
+            <div class="description-text animated fadeIn delay-1s">
+                <p>You do not have permission to view this page.</p>
+                <p>Please check your credentials and try again.</p>
+                <section class="footer"><strong>Error Code:</strong> 403</section>
+            </div>
+        </div>
+    </div>
+</div>
+</body>
+</html>

+ 113 - 0
web/error/404.html

@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta http-equiv="X-UA-Compatible" content="ie=edge">
+<title>Page Not Found</title>
+<style type="text/css">
+    body {
+        background-color: #f5f5f5;
+        margin-top: 8%;
+        color: #5d5d5d;
+        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
+        text-shadow: 0px 1px 1px rgba(255,255,255,0.75);
+        text-align: center !important;
+    }
+
+    h1 {
+        font-size: 2.45em;
+        font-weight: 700;
+        color: #5d5d5d;
+        letter-spacing: -0.02em;
+        margin-bottom: 30px;
+        margin-top: 30px;
+    }
+
+    .container {
+        width: 100%;
+        margin-right: auto;
+        margin-left: auto;
+    }
+
+    .animated {
+        -webkit-animation-duration: 1s;
+        animation-duration: 1s;
+        -webkit-animation-fill-mode: both;
+        animation-fill-mode: both;
+    }
+
+    .fadeIn {
+        -webkit-animation-name: fadeIn;
+        animation-name: fadeIn;
+    }
+
+    .info {
+        color:#5594cf;
+        fill:#5594cf;
+    }
+
+    .error {
+        color:#c92127;
+        fill:#c92127;
+    }
+
+    .warning {
+        color:#ffcc33;
+        fill:#ffcc33;
+    }
+
+    .success {
+        color:#5aba47;
+        fill:#5aba47;
+    }
+
+    .icon-large {
+        height: 132px;
+        width: 132px;
+    }
+
+    .description-text {
+        color: #707070;
+        letter-spacing: -0.01em;
+        font-size: 1.25em;
+        line-height: 20px;
+    }
+
+    .footer {
+        margin-top: 40px;
+        font-size: 0.7em;
+    }
+
+    .delay-1s {
+        -webkit-animation-delay: 1s;
+        animation-delay: 1s;
+    }
+
+    @keyframes fadeIn {
+        from { opacity: 0; }
+        to   { opacity: 1; }
+    }
+
+</style>
+</head>
+<body>
+<div class="container text-center">
+    <div class="row">
+        <div class="col">
+            <div class="animated fadeIn">
+                <svg class="info icon-large fa-question-circle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
+                    <path d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"></path>
+                </svg>
+            </div>
+            <h1 class="animated fadeIn">Page Not Found</h1>
+            <div class="description-text animated fadeIn delay-1s">
+                <p>Oops! We couldn't find the page that you're looking for.</p>
+                <p>Please check the address and try again.</p>
+                <section class="footer"><strong>Error Code:</strong> 404</section>
+            </div>
+        </div>
+    </div>
+</div>
+</body>
+</html>

+ 113 - 0
web/error/410.html

@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta http-equiv="X-UA-Compatible" content="ie=edge">
+<title>Resource is Gone</title>
+<style type="text/css">
+    body {
+        background-color: #f5f5f5;
+        margin-top: 8%;
+        color: #5d5d5d;
+        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
+        text-shadow: 0px 1px 1px rgba(255,255,255,0.75);
+        text-align: center !important;
+    }
+
+    h1 {
+        font-size: 2.45em;
+        font-weight: 700;
+        color: #5d5d5d;
+        letter-spacing: -0.02em;
+        margin-bottom: 30px;
+        margin-top: 30px;
+    }
+
+    .container {
+        width: 100%;
+        margin-right: auto;
+        margin-left: auto;
+    }
+
+    .animated {
+        -webkit-animation-duration: 1s;
+        animation-duration: 1s;
+        -webkit-animation-fill-mode: both;
+        animation-fill-mode: both;
+    }
+
+    .fadeIn {
+        -webkit-animation-name: fadeIn;
+        animation-name: fadeIn;
+    }
+
+    .info {
+        color:#5594cf;
+        fill:#5594cf;
+    }
+
+    .error {
+        color:#c92127;
+        fill:#c92127;
+    }
+
+    .warning {
+        color:#ffcc33;
+        fill:#ffcc33;
+    }
+
+    .success {
+        color:#5aba47;
+        fill:#5aba47;
+    }
+
+    .icon-large {
+        height: 132px;
+        width: 132px;
+    }
+
+    .description-text {
+        color: #707070;
+        letter-spacing: -0.01em;
+        font-size: 1.25em;
+        line-height: 20px;
+    }
+
+    .footer {
+        margin-top: 40px;
+        font-size: 0.7em;
+    }
+
+    .delay-1s {
+        -webkit-animation-delay: 1s;
+        animation-delay: 1s;
+    }
+
+    @keyframes fadeIn {
+        from { opacity: 0; }
+        to   { opacity: 1; }
+    }
+
+</style>
+</head>
+<body>
+<div class="container text-center">
+    <div class="row">
+        <div class="col">
+            <div class="animated fadeIn">
+                <svg class="info icon-large fa-sign-out-alt" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
+                    <path d="M272 112v51.6h-96c-26.5 0-48 21.5-48 48v88.6c0 26.5 21.5 48 48 48h96v51.6c0 42.6 51.7 64.2 81.9 33.9l144-143.9c18.7-18.7 18.7-49.1 0-67.9l-144-144C323.8 48 272 69.3 272 112zm192 144L320 400v-99.7H176v-88.6h144V112l144 144zM96 64h84c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H96c-26.5 0-48 21.5-48 48v192c0 26.5 21.5 48 48 48h84c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H96c-53 0-96-43-96-96V160c0-53 43-96 96-96z"></path>
+                </svg>
+            </div>
+            <h1 class="animated fadeIn">Resource is Gone</h1>
+            <div class="description-text animated fadeIn delay-1s">
+                <p>Oops! The requested resource is no longer available.</p>
+                <p>Please check the address and try again.</p>
+                <section class="footer"><strong>Error Code:</strong> 410</section>
+            </div>
+        </div>
+    </div>
+</div>
+</body>
+</html>

+ 113 - 0
web/error/50x.html

@@ -0,0 +1,113 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<meta http-equiv="X-UA-Compatible" content="ie=edge">
+<title>Internal Server Error</title>
+<style type="text/css">
+    body {
+        background-color: #f5f5f5;
+        margin-top: 8%;
+        color: #5d5d5d;
+        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
+        text-shadow: 0px 1px 1px rgba(255,255,255,0.75);
+        text-align: center !important;
+    }
+
+    h1 {
+        font-size: 2.45em;
+        font-weight: 700;
+        color: #5d5d5d;
+        letter-spacing: -0.02em;
+        margin-bottom: 30px;
+        margin-top: 30px;
+    }
+
+    .container {
+        width: 100%;
+        margin-right: auto;
+        margin-left: auto;
+    }
+
+    .animated {
+        -webkit-animation-duration: 1s;
+        animation-duration: 1s;
+        -webkit-animation-fill-mode: both;
+        animation-fill-mode: both;
+    }
+
+    .fadeIn {
+        -webkit-animation-name: fadeIn;
+        animation-name: fadeIn;
+    }
+
+    .info {
+        color:#5594cf;
+        fill:#5594cf;
+    }
+
+    .error {
+        color:#c92127;
+        fill:#c92127;
+    }
+
+    .warning {
+        color:#ffcc33;
+        fill:#ffcc33;
+    }
+
+    .success {
+        color:#5aba47;
+        fill:#5aba47;
+    }
+
+    .icon-large {
+        height: 132px;
+        width: 132px;
+    }
+
+    .description-text {
+        color: #707070;
+        letter-spacing: -0.01em;
+        font-size: 1.25em;
+        line-height: 20px;
+    }
+
+    .footer {
+        margin-top: 40px;
+        font-size: 0.7em;
+    }
+
+    .delay-1s {
+        -webkit-animation-delay: 1s;
+        animation-delay: 1s;
+    }
+
+    @keyframes fadeIn {
+        from { opacity: 0; }
+        to   { opacity: 1; }
+    }
+
+</style>
+</head>
+<body>
+<div class="container text-center">
+    <div class="row">
+        <div class="col">
+            <div class="animated fadeIn">
+                <svg class="warning icon-large fa-exclamation-triangle" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512">
+                    <path d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"></path>
+                </svg>
+            </div>
+            <h1 class="animated fadeIn">Internal Server Error</h1>
+            <div class="description-text animated fadeIn delay-1s">
+                <p>Oops! Something went wrong.</p>
+                <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
+                <section class="footer"><strong>Error Code:</strong> 500</section>
+            </div>
+        </div>
+    </div>
+</div>
+</body>
+</html>