diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-25 16:45:03 +0300 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-04-25 16:45:03 +0300 |
| commit | b594effb847b86fc6b1dae49d7948c46bba35e58 (patch) | |
| tree | 8c5a090cf8746870521324797762bb0ff14c8ae5 /public/app/views/error | |
| parent | 65d07ba64d45c77d2db16272710ec5702b34d641 (diff) | |
| download | classroom-b594effb847b86fc6b1dae49d7948c46bba35e58.tar.gz classroom-b594effb847b86fc6b1dae49d7948c46bba35e58.tar.bz2 classroom-b594effb847b86fc6b1dae49d7948c46bba35e58.zip | |
alfa version; uploaded into test server (coder)
Diffstat (limited to 'public/app/views/error')
| -rw-r--r-- | public/app/views/error/404.php | 1 | ||||
| -rw-r--r-- | public/app/views/error/general.php | 16 |
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> |
