From 7c16dc53b55aa50d6c9ac0bdea2f51fbbf2b20b0 Mon Sep 17 00:00:00 2001 From: Frankie B <git@diskfloppy.me> 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') + <h1>{{ $error }}</h1> + <hr/> + @if(isset($description)) + <p>{{ $description }}</p> + @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') + <h1>Error 401: Unauthorized User!</h1> + <hr/> + <p>Woah there! Only authorized users can access this page. Please <a href="/login">log in</a> to proceed.</p> + <p>Ended up here on accident? Click <a href="/">here</a> to return to the homepage</u>!</p> +@stop -- cgit v1.2.3-54-g00ecf