Update error pages

This commit is contained in:
Deon George 2020-04-17 16:30:51 +10:00
parent 3784de855a
commit e6f823da39
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254
3 changed files with 37 additions and 8 deletions

View File

@ -1,8 +1,17 @@
@extends('adminlte::layouts.errors') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
{{ trans('adminlte_lang::message.servererror') }} {{ trans('adminlte_lang::message.servererror') }}
@endsection @endsection
@section('page_title')
307
@endsection
@section('contentheader_title')
Not updated yet
@endsection
@section('contentheader_description')
@endsection
@section('main-content') @section('main-content')
<div class="error-page"> <div class="error-page">
@ -11,8 +20,8 @@
<h3><i class="fa fa-warning text-red"></i> Oops! Not updated yet!</h3> <h3><i class="fa fa-warning text-red"></i> Oops! Not updated yet!</h3>
<p> <p>
That data is still on the old site. You'll be redirected in <b>5</b> seconds.<br> That data is still on the old site. You'll be redirected in <b>5</b> seconds.<br>
(You might be asked to login again.) <br> (You might be asked to login again.) <br><br>
Here: <a href="{{ $exception->getMessage() }}"><b>{{ $exception->getMessage() }}</b></a><br> Here: <a href="{{ $exception->getMessage() }}"><b>{{ $exception->getMessage() }}</b></a><br><br>
Back to <a href="{{ url('home') }}">home</a> Back to <a href="{{ url('home') }}">home</a>
</p> </p>
<br> <br>

View File

@ -1,14 +1,24 @@
@extends('adminlte::layouts.errors') @extends('adminlte::layouts.app')
@section('htmlheader_title') @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 @endsection
@section('main-content') @section('main-content')
<div class="error-page"> <div class="error-page">
<h2 class="headline text-red">403</h2> <h2 class="headline text-red">403</h2>
<div class="error-content"> <div class="error-content">
<h3><i class="fa fa-warning text-red"></i> Oops! Bad Authentication</h3> <h3><i class="fa fa-warning text-red pt-4"></i> Oops! Bad Authentication</h3>
<p> <p>
Sorry, your authentication failed.<br> Sorry, your authentication failed.<br>
Message: <b>{{ $exception->getMessage() }}</b><br> Message: <b>{{ $exception->getMessage() }}</b><br>

View File

@ -1,14 +1,24 @@
@extends('adminlte::layouts.errors') @extends('adminlte::layouts.app')
@section('htmlheader_title') @section('htmlheader_title')
{{ trans('adminlte_lang::message.servererror') }} {{ trans('adminlte_lang::message.servererror') }}
@endsection @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') @section('main-content')
<div class="error-page"> <div class="error-page">
<h2 class="headline text-red">500</h2> <h2 class="headline text-red">500</h2>
<div class="error-content"> <div class="error-content">
<h3><i class="fa fa-warning text-red"></i> Oops! {{ trans('adminlte_lang::message.somethingwrong') }}</h3> <h3><i class="fa fa-warning text-red pt-4"></i> Oops! {{ $exception->getMessage() }}</h3>
<p> <p>
{{ trans('adminlte_lang::message.wewillwork') }} {{ trans('adminlte_lang::message.wewillwork') }}
{{ trans('adminlte_lang::message.mainwhile') }} <a href='{{ url('/home') }}'>{{ trans('adminlte_lang::message.returndashboard') }}</a>. {{ trans('adminlte_lang::message.mainwhile') }} <a href='{{ url('/home') }}'>{{ trans('adminlte_lang::message.returndashboard') }}</a>.