fixed error pages

This commit is contained in:
denisdulici
2019-12-26 10:53:50 +03:00
parent ef95a33648
commit 6f7d94e676
11 changed files with 374 additions and 341 deletions

View File

@ -1,16 +1,16 @@
@extends('layouts.admin')
@extends('layouts.error')
@section('title', trans('errors.page_not_found'))
@section('title', trans('errors.title.404'))
@section('content')
<div class="card">
<div class="card-header">
<h2 class="mb-0 text-yellow">404 Not Found</h2>
<h2 class="mb-0 text-warning"><i class="fa fa-exclamation-triangle text-warning"></i>&nbsp;&nbsp;{{ trans('errors.header.404') }}</h2>
</div>
<div class="card-body">
<h3><i class="fa fa-exclamation-triangle text-yellow"></i> {{ trans('errors.body.page_not_found') }}</h3>
<p>{{ trans('errors.message.404') }}</p>
<p>{!! trans('errors.messages.page_not_found', ['link' => url('/')]) !!}</p>
<a href="{{ url('/') }}" class="btn btn-success header-button-top"><span class="fa fa-tachometer-alt"></span> &nbsp;{{ trans('general.go_to', ['name' => trans('general.dashboard')]) }}</a>
</div>
</div>
@endsection