summaryrefslogtreecommitdiff
path: root/public/app/views/error
diff options
context:
space:
mode:
Diffstat (limited to 'public/app/views/error')
-rw-r--r--public/app/views/error/404.php1
-rw-r--r--public/app/views/error/general.php16
2 files changed, 14 insertions, 3 deletions
diff --git a/public/app/views/error/404.php b/public/app/views/error/404.php
index 89c35cc..4bbf083 100644
--- a/public/app/views/error/404.php
+++ b/public/app/views/error/404.php
@@ -26,6 +26,7 @@
text-align: center; justify-center: center;
opacity: .33;
}
+ .btn { font-size: 18px; padding: 4px 12px; }
</style>
</head>
<body>
diff --git a/public/app/views/error/general.php b/public/app/views/error/general.php
index 74566a4..0a27e56 100644
--- a/public/app/views/error/general.php
+++ b/public/app/views/error/general.php
@@ -1,10 +1,19 @@
<?php
/** general message template
+ * -----------------------------------------------------------------------------
+ * renders an error with custom title and message
+ *
+ * passed values:
*
- * passed:
- * @var $title (string): page title
- * @var $message (string): message
+ * optional @var $title (string): title
+ * optional @var $message (string): message
+ *
+ * NOTE:
+ * if title and/or message are not passed, then defaults are used
+ *
+ * -----------------------------------------------------------------------------
*/
+
?><!DOCTYPE html>
<html lang="en">
<head>
@@ -39,6 +48,7 @@
opacity: .33;
font-size: .87em
}
+ .btn { font-size: 18px; padding: 4px 12px; }
</style>
</head>
<body>