From e6f823da396627bc6c80290f7773315afc00c058 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 17 Apr 2020 16:30:51 +1000 Subject: [PATCH] Update error pages --- resources/views/errors/307.blade.php | 15 ++++++++++++--- resources/views/errors/403.blade.php | 16 +++++++++++++--- resources/views/errors/500.blade.php | 14 ++++++++++++-- 3 files changed, 37 insertions(+), 8 deletions(-) diff --git a/resources/views/errors/307.blade.php b/resources/views/errors/307.blade.php index 78b54fe..170d609 100644 --- a/resources/views/errors/307.blade.php +++ b/resources/views/errors/307.blade.php @@ -1,8 +1,17 @@ -@extends('adminlte::layouts.errors') +@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('adminlte_lang::message.servererror') }} @endsection +@section('page_title') + 307 +@endsection + +@section('contentheader_title') + Not updated yet +@endsection +@section('contentheader_description') +@endsection @section('main-content')
@@ -11,8 +20,8 @@

Oops! Not updated yet!

That data is still on the old site. You'll be redirected in 5 seconds.
- (You might be asked to login again.)
- Here: {{ $exception->getMessage() }}
+ (You might be asked to login again.)

+ Here: {{ $exception->getMessage() }}

Back to home


diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php index 9dae306..2515523 100644 --- a/resources/views/errors/403.blade.php +++ b/resources/views/errors/403.blade.php @@ -1,14 +1,24 @@ -@extends('adminlte::layouts.errors') +@extends('adminlte::layouts.app') @section('htmlheader_title') - {{ trans('adminlte_lang::message.servererror') }} + Bad Authentication +@endsection +@section('page_title') + 403 +@endsection + +@section('contentheader_title') + Authentication Required +@endsection +@section('contentheader_description') + Authentication Failed @endsection @section('main-content')

403

-

Oops! Bad Authentication

+

Oops! Bad Authentication

Sorry, your authentication failed.
Message: {{ $exception->getMessage() }}
diff --git a/resources/views/errors/500.blade.php b/resources/views/errors/500.blade.php index a4461ba..f2be425 100644 --- a/resources/views/errors/500.blade.php +++ b/resources/views/errors/500.blade.php @@ -1,14 +1,24 @@ -@extends('adminlte::layouts.errors') +@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('adminlte_lang::message.servererror') }} @endsection +@section('page_title') + 500 +@endsection + +@section('contentheader_title') + {{ trans('adminlte_lang::message.servererror') }} +@endsection +@section('contentheader_description') + {{ trans('adminlte_lang::message.somethingwrong') }} +@endsection @section('main-content')

500

-

Oops! {{ trans('adminlte_lang::message.somethingwrong') }}

+

Oops! {{ $exception->getMessage() }}

{{ trans('adminlte_lang::message.wewillwork') }} {{ trans('adminlte_lang::message.mainwhile') }} {{ trans('adminlte_lang::message.returndashboard') }}.