aboutsummaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/errors/ratelimit-guestbook.blade.php14
-rw-r--r--resources/views/layouts/minimal.blade.php11
2 files changed, 15 insertions, 10 deletions
diff --git a/resources/views/errors/ratelimit-guestbook.blade.php b/resources/views/errors/ratelimit-guestbook.blade.php
index fa29855..1890789 100644
--- a/resources/views/errors/ratelimit-guestbook.blade.php
+++ b/resources/views/errors/ratelimit-guestbook.blade.php
@@ -1,16 +1,10 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html lang="en">
-<head>
- <title>Error 429: Overclocking Detected!</title>
- <link rel="stylesheet" href="{{ URL::asset ('css/minimal.css') }}"/>
-</head>
-
-<body>
+@extends('layouts.minimal')
+@section('title', 'Error 429: Overclocking Detected!')
+@section('content')
<h1>Error 429: Overclocking Detected!</h1>
<hr/>
<p>Whoa there! Your submissions are going at warp speed.</p>
<p>Remember you can only submit an entry <u>once every hour</u>!</p>
<br/>
Click <a href="/guestbook">here</a> to go back to the guestbook.
-</body>
-</html>
+@stop
diff --git a/resources/views/layouts/minimal.blade.php b/resources/views/layouts/minimal.blade.php
new file mode 100644
index 0000000..5cef094
--- /dev/null
+++ b/resources/views/layouts/minimal.blade.php
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+ <title>@yield('title')</title>
+ <link rel="stylesheet" href="{{ URL::asset ('css/minimal.css') }}"/>
+</head>
+
+<body>
+@yield('content')
+</body>
+</html>