forked from GibbonEdu/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.php
72 lines (60 loc) · 3.54 KB
/
error.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
/*
Gibbon, Flexible & Open School System
Copyright (C) 2010, Ross Parker
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
?>
<!DOCTYPE html>
<html lang="">
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta http-equiv="content-language" content="{{ locale }}"/>
<meta name="author" content="Ross Parker, International College Hong Kong"/>
<meta name="robots" content="noindex"/>
<meta name="Referrer‐Policy" value="no‐referrer | same‐origin"/>
<link rel="shortcut icon" type="image/x-icon" href="./favicon.ico"/>
<link rel="stylesheet" href="./themes/Default/css/main.css" type="text/css" media="all">
<link rel="stylesheet" href="./resources/assets/css/core.min.css" type="text/css" media="all">
<link rel="stylesheet" href="./resources/assets/css/theme.min.css" type="text/css" media="all">
</head>
<body class="h-screen flex flex-col font-sans body-gradient-purple m-0 p-0" style="background: radial-gradient(80% 1000px at 20% 500px, #ef99c7 0%, #794d95 100%) no-repeat fixed ;">
<div class="px-4 sm:px-6 lg:px-12 pb-24">
<div id="header" class="relative flex justify-between items-center">
<a id="header-logo" class="block my-4 max-w-xs sm:max-w-full leading-none" href="http://localhost:8888/gibbon">
<img class="block max-w-full h-20 mt-4 mb-4" alt="DEMO Logo" src="./themes/Default/img/logo.png" style="max-height:100px;">
</a>
<div class="flex-grow flex items-center justify-end text-right text-sm text-purple-200">
</div>
</div>
</div>
<div id="wrapOuter" class="flex-1 pt-24 bg-transparent-100">
<div id="wrap" class="px-0 sm:px-6 lg:px-12 -mt-48">
<div id="content-wrap" class="relative w-full min-h-1/2 flex content-start flex-coll lg:flex-row clearfix">
<div id="content" class="max-w-full w-full shadow bg-white sm:rounded px-8 pt-2 pb-6">
<h1>
Oh no!<br/>
</h1>
<p>
<?php echo !empty($error) ? $error : 'Something has gone wrong: the Gibbons have escaped!' ?><br/>
<br/>
<?php echo !empty($message) ? $message : 'An error has occurred. This could mean a number of different things, but generally indicates that you have a misspelt address, or are trying to access a page that you are not permitted to access. If you cannot solve this problem by retyping the address, or through other means, please contact your system administrator.' ?><br/>
</p>
</body>
</div>
</div>
</div>
</div>
</body>
</html>