From 2a11cff663b9520643bd0178ddc671705dd06e31 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 16 Jul 2023 21:02:51 +0100 Subject: feat: site admin (#8) --- resources/views/errors/generic-error.blade.php | 9 +++++++++ resources/views/errors/no-auth.blade.php | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 resources/views/errors/generic-error.blade.php create mode 100644 resources/views/errors/no-auth.blade.php (limited to 'resources/views/errors') diff --git a/resources/views/errors/generic-error.blade.php b/resources/views/errors/generic-error.blade.php new file mode 100644 index 0000000..9764a02 --- /dev/null +++ b/resources/views/errors/generic-error.blade.php @@ -0,0 +1,9 @@ +@extends('layouts.minimal') +@section('title', 'Error 401: Unauthorized User!') +@section('content') +

{{ $error }}

+
+ @if(isset($description)) +

{{ $description }}

+ @endif +@stop diff --git a/resources/views/errors/no-auth.blade.php b/resources/views/errors/no-auth.blade.php new file mode 100644 index 0000000..8682010 --- /dev/null +++ b/resources/views/errors/no-auth.blade.php @@ -0,0 +1,8 @@ +@extends('layouts.minimal') +@section('title', 'Error 401: Unauthorized User!') +@section('content') +

Error 401: Unauthorized User!

+
+

Woah there! Only authorized users can access this page. Please log in to proceed.

+

Ended up here on accident? Click here to return to the homepage!

+@stop -- cgit v1.2.3-54-g00ecf