summaryrefslogtreecommitdiff
path: root/public/app/views/error/general.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-25 16:45:03 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-25 16:45:03 +0300
commitb594effb847b86fc6b1dae49d7948c46bba35e58 (patch)
tree8c5a090cf8746870521324797762bb0ff14c8ae5 /public/app/views/error/general.php
parent65d07ba64d45c77d2db16272710ec5702b34d641 (diff)
downloadclassroom-b594effb847b86fc6b1dae49d7948c46bba35e58.tar.gz
classroom-b594effb847b86fc6b1dae49d7948c46bba35e58.tar.bz2
classroom-b594effb847b86fc6b1dae49d7948c46bba35e58.zip
alfa version; uploaded into test server (coder)
Diffstat (limited to 'public/app/views/error/general.php')
-rw-r--r--public/app/views/error/general.php16
1 files changed, 13 insertions, 3 deletions
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>