summaryrefslogtreecommitdiff
path: root/html/app/views/error/general.php
diff options
context:
space:
mode:
Diffstat (limited to 'html/app/views/error/general.php')
-rw-r--r--html/app/views/error/general.php55
1 files changed, 0 insertions, 55 deletions
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>