summaryrefslogtreecommitdiff
path: root/public/processed-views/error
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-17 12:12:22 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-17 12:12:22 +0300
commit68fc9e55e538e03f94509731ab41a0c8cf96710f (patch)
tree3edb1e81864ac3eb35ba0fe8087ed24da1b812bf /public/processed-views/error
parent84b2da85a1b452922dadb6a609533b9945afe51d (diff)
downloadclassroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.tar.gz
classroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.tar.bz2
classroom-68fc9e55e538e03f94509731ab41a0c8cf96710f.zip
setup a real server environment (apache DocumentRoot=/var/www/public)
Diffstat (limited to 'public/processed-views/error')
-rw-r--r--public/processed-views/error/404.php38
-rw-r--r--public/processed-views/error/general.php38
2 files changed, 76 insertions, 0 deletions
diff --git a/public/processed-views/error/404.php b/public/processed-views/error/404.php
new file mode 100644
index 0000000..a7ea624
--- /dev/null
+++ b/public/processed-views/error/404.php
@@ -0,0 +1,38 @@
+<html>
+ <head>
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>404: Not Found</title>
+ <style>
+ html,body{ padding:0; margin:0;
+ font-size:1.25em; color: #037 /*#a05*/; font-family: 'Roboto Slab', Consolas, Monaco, "Ubuntu Mono", fixed;
+ line-height:1.2em; background: ##f3f4f5;
+ }
+ h3 { font-size: 5.2em; font-style: normal; color: #05a /*#a05*/;
+ margin: 0; padding: 0;
+ opacity: 0.27;
+ }
+ .container { display: flex; height: 100vh; align-items:center; }
+ .content { position: relative;
+ max-width:520px; width: 100%; margin: auto auto; padding: 1.5em;
+ /* text-align: center; justify-center: center; */
+ font-size: .75em; opacity: .33; font-style: italic;
+ }
+ @media screen and ( max-width: 720px) {
+ html, body { font-size: 1.24em; }
+ h3 { font-size: 4em; }
+ }
+ </style>
+ </head>
+ <body>
+ <div class='container'>
+ <div class='content'>
+ <h3>4O4</h3>
+ NOT FOUND<br />
+ —
+ <br />
+ <span><?= $message ?? "and I still haven't found what I'm looking for." ?></span>
+ </div>
+ </div>
+ </body>
+</html>
diff --git a/public/processed-views/error/general.php b/public/processed-views/error/general.php
new file mode 100644
index 0000000..1c3c6ae
--- /dev/null
+++ b/public/processed-views/error/general.php
@@ -0,0 +1,38 @@
+<html>
+ <head>
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>404: Not Found</title>
+ <style>
+ html,body{ padding:0; margin:0;
+ font-size:1.25em; color: #037 /*#a05*/; font-family: 'Roboto Slab', Consolas, Monaco, "Ubuntu Mono", fixed;
+ line-height:1.2em; background: ##f3f4f5;
+ }
+ h3 { font-size: 5.2em; font-style: normal; color: #05a /*#a05*/;
+ margin: 0; padding: 0;
+ opacity: 0.27;
+ }
+ .container { display: flex; height: 100vh; align-items:center; }
+ .content { position: relative;
+ max-width:720px; width: 100%; margin: auto auto; padding: 1.5em;
+ /* text-align: center; justify-center: center; */
+ font-size: .75em; opacity: .33; font-style: italic;
+ }
+ @media screen and ( max-width: 720px) {
+ html, body { font-size: 1.24em; }
+ h3 { font-size: 4em; }
+ }
+ </style>
+ </head>
+ <body>
+ <div class='container'>
+ <div class='content'>
+ <h3>Error</h3>
+ Oops!<br />
+ —
+ <br />
+ <span><?= $message ?? "" ?></span>
+ </div>
+ </div>
+ </body>
+</html>