close #745 Added: 403, 404 and 500 exception page added
This commit is contained in:
@ -1,13 +1,15 @@
|
||||
@extends('layouts.admin')
|
||||
|
||||
@section('title', 'Forbidden Access')
|
||||
@section('title', trans('errors.forbidden_access'))
|
||||
|
||||
@section('content')
|
||||
<!-- Default box -->
|
||||
<div class="box box-success">
|
||||
<div class="box-body">
|
||||
<h1>You don't have permission.</h1>
|
||||
<div class="error-page">
|
||||
<h2 class="headline text-red">403</h2>
|
||||
|
||||
<div class="error-content">
|
||||
<h3><i class="fa fa-ban text-red"></i> {{ trans('errors.body.forbidden_access') }}</h3>
|
||||
|
||||
<p>{!! trans('errors.messages.forbidden_access', ['link' => url('/') ]) !!}</p>
|
||||
</div>
|
||||
<!-- /.box-body -->
|
||||
</div>
|
||||
@endsection
|
||||
|
15
resources/views/errors/404.blade.php
Normal file
15
resources/views/errors/404.blade.php
Normal file
@ -0,0 +1,15 @@
|
||||
@extends('layouts.admin')
|
||||
|
||||
@section('title', trans('errors.page_not_found'))
|
||||
|
||||
@section('content')
|
||||
<div class="error-page">
|
||||
<h2 class="headline text-yellow"> 404</h2>
|
||||
|
||||
<div class="error-content">
|
||||
<h3><i class="fa fa-warning text-yellow"></i> {{ trans('errors.body.page_not_found') }}</h3>
|
||||
|
||||
<p>{!! trans('errors.messages.page_not_found', ['link' => url('/')]) !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
15
resources/views/errors/500.blade.php
Normal file
15
resources/views/errors/500.blade.php
Normal file
@ -0,0 +1,15 @@
|
||||
@extends('layouts.admin')
|
||||
|
||||
@section('title', trans('errors.error_page'))
|
||||
|
||||
@section('content')
|
||||
<div class="error-page">
|
||||
<h2 class="headline text-red">500</h2>
|
||||
|
||||
<div class="error-content">
|
||||
<h3><i class="fa fa-warning text-red"></i> {{ trans('errors.body.error_page') }}</h3>
|
||||
|
||||
<p>{!! trans('errors.messages.error_page', ['link' => url('/') ]) !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user