500.php 1.87 KB
Newer Older
1 2 3 4 5 6
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>500 - Internal Server Error</title>

7 8 9
	<link href="http://fonts.googleapis.com/css?family=Quattrocento&amp;v1" rel="stylesheet" type="text/css" media="all" />
	<link href="http://fonts.googleapis.com/css?family=Ubuntu&amp;v1" rel="stylesheet" type="text/css" media="all" />
	<link href="http://fonts.googleapis.com/css?family=Lobster+Two&amp;v1" rel="stylesheet" type="text/css" media="all" />
10 11 12

	<style type="text/css">
		body {
13 14 15
			background-color: #eee;
			color: #6d6d6d;
			font-family: 'Ubuntu';
16 17 18
			font-size: 16px;
		}

19 20 21 22
		a {
			color: #7089b3;
			font-weight: bold;
			text-decoration: none;
23 24
		}

25 26 27 28 29 30
		h1.laravel {
			font-family: 'Lobster Two', Helvetica, serif;				
			font-size: 60px;
			margin: 0 0 15px -10px;
			padding: 0;
			text-shadow: -1px 1px 1px #fff;
31 32
		}

33 34 35 36 37 38 39 40 41 42 43 44 45 46
		h2 {
			font-family: 'Quattrocento', serif;
			font-size: 30px;
			margin: 30px 0 0 0;
			padding: 0;
			text-shadow: -1px 1px 1px #fff;
		}

		p {
			margin: 10px 0 0 0;
			line-height: 25px;
		}

		#header {
47
			margin: 0 auto;
48 49 50
			margin-bottom: 15px;
			margin-top: 20px;
			width: 80%;
51 52
		}

53 54
		#wrapper {
			background-color: #fff;
55
			border-radius: 10px;
56 57 58 59 60 61 62
			margin: 0 auto;
			padding: 10px;
			width: 80%;
		}

		#wrapper h2:first-of-type {
			margin-top: 0;
63 64 65 66
		}
	</style>
</head>
<body>
67
	<div id="header">
68 69 70 71 72
		<?php
			$messages = array('Whoops!', 'Oh no!', 'Ouch!');
			$message = $messages[mt_rand(0, 2)];
		?>

73 74 75 76 77 78 79 80 81 82
		<h1 class="laravel"><?php echo $message; ?></h1>
	</div>

	<div id="wrapper">
		<?php
			$apologies = array("It's not your fault.", "Don't give up on us.", "We're really sorry.");
			$apology = $apologies[mt_rand(0, 2)];
		?>

		<h2><?php echo $apology; ?></h2>
83

84
		<p>Something failed while we were handling your request. Would you like go to our <a href="<?php echo System\Config::get('application.url'); ?>">home page</a> instead?</p>
85 86 87
	</div>
</body>
</html>