initial commit of laravel!
This commit is contained in:
56
application/views/error/404.php
Normal file
56
application/views/error/404.php
Normal file
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>404 - Not Found</title>
|
||||
|
||||
<link href='http://fonts.googleapis.com/css?family=Ubuntu&subset=latin' rel='stylesheet' type='text/css'>
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 45px 0 0 0;
|
||||
font-family: 'Ubuntu', sans-serif;
|
||||
font-size: 16px;
|
||||
color: #3f3f3f;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 40px;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
width: 740px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 10px 10px 10px 10px;
|
||||
background-color: #ffebe8;
|
||||
border: 1px solid #dd3c10;
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<?php
|
||||
$messages = array('Should we ask for directions?', 'This doesn\'t look familiar.', 'We need a map.');
|
||||
$message = $messages[mt_rand(0, 2)];
|
||||
?>
|
||||
|
||||
<h1><?php echo $message; ?></h1>
|
||||
|
||||
<div id="content">
|
||||
The resource you requested was not found.
|
||||
<br /><br />
|
||||
Would you like go to our <a href="<?php echo System\Config::get('application.url'); ?>">home page</a> instead?
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
56
application/views/error/500.php
Normal file
56
application/views/error/500.php
Normal file
@@ -0,0 +1,56 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>500 - Internal Server Error</title>
|
||||
|
||||
<link href='http://fonts.googleapis.com/css?family=Ubuntu&subset=latin' rel='stylesheet' type='text/css'>
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #fff;
|
||||
margin: 45px 0 0 0;
|
||||
font-family: 'Ubuntu', sans-serif;
|
||||
font-size: 16px;
|
||||
color: #3f3f3f;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 40px;
|
||||
margin: 0 0 10px 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
width: 740px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 10px 10px 10px 10px;
|
||||
background-color: #ffebe8;
|
||||
border: 1px solid #dd3c10;
|
||||
border-radius: 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<?php
|
||||
$messages = array('Whoops!', 'Oh no!', 'Ouch!');
|
||||
$message = $messages[mt_rand(0, 2)];
|
||||
?>
|
||||
|
||||
<h1><?php echo $message; ?></h1>
|
||||
|
||||
<div id="content">
|
||||
An error occured while we were processing your request.
|
||||
<br /><br />
|
||||
Would you like go to our <a href="<?php echo System\Config::get('application.url'); ?>">home page</a> instead?
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
77
application/views/home/index.php
Normal file
77
application/views/home/index.php
Normal file
@@ -0,0 +1,77 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Welcome To Laravel!</title>
|
||||
|
||||
<link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css" media="all" />
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
|
||||
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #fff;
|
||||
font-family: 'Ubuntu', sans-serif;
|
||||
font-size: 16px;
|
||||
color: #3f3f3f;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 40px;
|
||||
color: #6d6d6d;
|
||||
margin: 0 0 10px 0;
|
||||
text-shadow: 1px 1px #000;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#wrapper {
|
||||
width: 740px;
|
||||
}
|
||||
|
||||
#content {
|
||||
padding: 10px 10px 10px 10px;
|
||||
background-color: #eee;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#footer {
|
||||
font-size: 12px;
|
||||
padding-top: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$(window).resize(function(){
|
||||
$('#wrapper').css({
|
||||
position:'absolute',
|
||||
left: ($(window).width() - $('#wrapper').outerWidth()) / 2,
|
||||
top: ($(window).height() - $('#wrapper').outerHeight()) / 3
|
||||
});
|
||||
});
|
||||
|
||||
$(window).resize();
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<h1>Laravel</h1>
|
||||
|
||||
<div id="content">
|
||||
You have successfully installed Laravel.
|
||||
|
||||
<br /><br />
|
||||
|
||||
Perhaps you would like to <a href="http://laravel.com/docs">peruse the documentation</a> or <a href="http://github.com/taylorotwell/laravel">contribute on GitHub</a>?
|
||||
</div>
|
||||
|
||||
<div id="footer">
|
||||
<?php echo Benchmark::memory(); ?>mb · <?php echo Benchmark::check('laravel'); ?>ms
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user