From b0cccfac6e21f35581145ed4c10dc4520f567737 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 16 Jul 2023 02:59:30 +0100 Subject: [PATCH] Move ratelimit error to new minimal layout template --- .../views/errors/ratelimit-guestbook.blade.php | 14 ++++---------- resources/views/layouts/minimal.blade.php | 11 +++++++++++ 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 resources/views/layouts/minimal.blade.php 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 @@ - - - - Error 429: Overclocking Detected! - - - - +@extends('layouts.minimal') +@section('title', 'Error 429: Overclocking Detected!') +@section('content')

Error 429: Overclocking Detected!


Whoa there! Your submissions are going at warp speed.

Remember you can only submit an entry once every hour!


Click here to go back to the guestbook. - - +@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 @@ + + + + @yield('title') + + + + +@yield('content') + +