feat: site admin (#8)
This commit is contained in:
parent
691d0d933d
commit
7c16dc53b5
15 changed files with 1378 additions and 52 deletions
9
resources/views/errors/generic-error.blade.php
Normal file
9
resources/views/errors/generic-error.blade.php
Normal file
|
@ -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
|
8
resources/views/errors/no-auth.blade.php
Normal file
8
resources/views/errors/no-auth.blade.php
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue