From 7bb3e12f66a16ca54052b688ec10e9c7181741bf Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 17 Jul 2021 22:07:20 +1000 Subject: [PATCH] Added 404/419 status pages --- public/oldschool/css/main.css | 31 ++++++++++++++++++++++++++++ resources/views/errors/404.blade.php | 15 ++++++++++++++ resources/views/errors/419.blade.php | 15 ++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 resources/views/errors/404.blade.php create mode 100644 resources/views/errors/419.blade.php diff --git a/public/oldschool/css/main.css b/public/oldschool/css/main.css index c5316f6..becae68 100644 --- a/public/oldschool/css/main.css +++ b/public/oldschool/css/main.css @@ -704,6 +704,37 @@ a.goback:focus:before { color:#fff } +a.link, +a.link:link, +a.link:visited { + display:inline-block; + text-decoration:none; + color:#0a0; + padding:.5em 0 0 1ch; + margin:0 0 0 3ch; +} +a.link:active, +a.link:hover { + color:#5f5; + background-color:#333 +} +a.link:focus { + color:#5ff; + background-color:#333; + outline:0 +} +a.link:after { + color:#a00; + content:"\a0\25BA\25BA" +} +a.link:active:after, +a.link:hover:after { + color:#f55 +} +a.link:focus:after { + color:#fff +} + .gohome { text-align:right; float:right diff --git a/resources/views/errors/404.blade.php b/resources/views/errors/404.blade.php new file mode 100644 index 0000000..adfeca6 --- /dev/null +++ b/resources/views/errors/404.blade.php @@ -0,0 +1,15 @@ +@extends('layouts.auth') + +@section('htmlheader_title') + 404 +@endsection + +@section('content') +
+
+

404 - Not found?

+

Sorry, I cant find what you are looking for. Try again?

+

Home

+
+
+@endsection \ No newline at end of file diff --git a/resources/views/errors/419.blade.php b/resources/views/errors/419.blade.php new file mode 100644 index 0000000..a3622a4 --- /dev/null +++ b/resources/views/errors/419.blade.php @@ -0,0 +1,15 @@ +@extends('layouts.auth') + +@section('htmlheader_title') + 419 +@endsection + +@section('content') +
+
+

419 - Page expired

+

That page has expired, you'll need to reload it and submit it again.

+

HomeReload

+
+
+@endsection \ No newline at end of file