diff options
Diffstat (limited to 'html/app/views/error')
| -rw-r--r-- | html/app/views/error/404.php | 44 | ||||
| -rw-r--r-- | html/app/views/error/general.php | 55 |
2 files changed, 0 insertions, 99 deletions
diff --git a/html/app/views/error/404.php b/html/app/views/error/404.php deleted file mode 100644 index 2b67e8d..0000000 --- a/html/app/views/error/404.php +++ /dev/null @@ -1,44 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title>404: Not Found</title> - - <style> - html,body{ - padding:0; margin:0; - font-size:1.25em; font-family: Arial, Helvetica, Ubuntu, sans-serif; - color: #037; background: #eee; - line-height:1.2em; - } - h3 { - font-size: 2em; font-style: normal; - font-weight: 400; - color: #05a; - margin: 0; padding: 5px; - opacity: 0.27; - border-bottom: 1px solid #05a; - } - .container { display: flex; height: 100vh; align-items:center; } - .content { position: relative; - max-width:320px; width: 100%; - margin: auto auto; padding: 1.5em; - text-align: center; justify-center: center; - opacity: .33; - } - </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/html/app/views/error/general.php b/html/app/views/error/general.php deleted file mode 100644 index 257e68d..0000000 --- a/html/app/views/error/general.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/** general message template - * - * passed: - * @var $title (string): page title - * @var $message (string): message - */ -?><!DOCTYPE html> -<html lang="en"> -<head> - <meta charset="utf-8"> - <title> - <?= isset($title) - ? (SITE_TITLE .": ". $title) - : PAGE_404_TITLE - ?> - </title> - - <style> - html,body{ - padding:0; margin:0; - font-size:1.25em; font-family: Arial, Helvetica, Ubuntu, sans-serif; - color: #037; background: #eee; - line-height:1.2em; - } - h3 { - font-size: 2em; font-style: normal; - font-weight: 400; - color: #05a; - margin: 0; padding: 5px; - opacity: 0.27; - border-bottom: 1px solid #05a; - } - .container { display: flex; height: 100vh; align-items:center; } - .content { position: relative; - max-width: 480px; width: 100%; - margin: auto auto; padding: 1.5em; - text-align: center; justify-center: center; - opacity: .33; - font-size: .87em - } - </style> - </head> - <body> - <div class='container'> - <div class='content'> - <h3><?= isset($title) ? $title : PAGE_404_TITLE ?></h3> - Oops!<br /> - — - <br /> - <span><?= $message ?? "" ?></span> - </div> - </div> - </body> -</html> |
