-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef95a33
commit 6f7d94e
Showing
11 changed files
with
365 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
@extends('layouts.admin') | ||
@extends('layouts.error') | ||
|
||
@section('title', trans('errors.forbidden_access')) | ||
@section('title', trans('errors.title.403')) | ||
|
||
@section('content') | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h2 class="mb-0 text-warning">403 Forbidden</h2> | ||
<h2 class="mb-0 text-danger"><i class="fa fa-exclamation-triangle text-danger"></i> {{ trans('errors.header.403') }}</h2> | ||
</div> | ||
<div class="card-body"> | ||
<h3><i class="fa fa-exclamation-triangle text-danger"></i> {{ trans('errors.body.forbidden_access') }}</h3> | ||
<p>{{ trans('errors.message.403') }}</p> | ||
|
||
<p>{!! trans('errors.messages.forbidden_access', ['link' => url('/') ]) !!}</p> | ||
<a href="{{ url('/') }}" class="btn btn-success header-button-top"><span class="fa fa-tachometer-alt"></span> {{ trans('general.go_to', ['name' => trans('general.dashboard')]) }}</a> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> {{ 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> {{ trans('general.go_to', ['name' => trans('general.dashboard')]) }}</a> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
@extends('layouts.admin') | ||
@extends('layouts.error') | ||
|
||
@section('title', trans('errors.error_page')) | ||
@section('title', trans('errors.title.500')) | ||
|
||
@section('content') | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h2 class="mb-0 text-danger">500 Internal Server Error</h2> | ||
<h2 class="mb-0 text-danger"><i class="fa fa-exclamation-triangle text-danger"></i> {{ trans('errors.header.500') }}</h2> | ||
</div> | ||
<div class="card-body"> | ||
<h3><i class="fa fa-exclamation-triangle text-danger"></i> {{ trans('errors.body.error_page') }}</h3> | ||
<p>{{ trans('errors.message.500') }}</p> | ||
|
||
<p>{!! trans('errors.messages.error_page', ['link' => url('/') ]) !!}</p> | ||
<a href="{{ url('/') }}" class="btn btn-success header-button-top"><span class="fa fa-tachometer-alt"></span> {{ trans('general.go_to', ['name' => trans('general.dashboard')]) }}</a> | ||
</div> | ||
</div> | ||
@endsection | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<html lang="{{ app()->getLocale() }}"> | ||
|
||
@include('partials.admin.head') | ||
|
||
<body class="g-sidenav-show g-sidenav-pinned"> | ||
@stack('body_start') | ||
|
||
<div class="main-content" id="panel"> | ||
|
||
<div id="main-body"> | ||
|
||
@include('partials.admin.header') | ||
|
||
<div class="container-fluid content-layout mt--6"> | ||
|
||
@include('partials.admin.content') | ||
|
||
@include('partials.admin.footer') | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
@stack('body_end') | ||
|
||
@include('partials.admin.scripts') | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
@stack('header_start') | ||
<div id="header" class="header pb-6"> | ||
<div class="container-fluid content-layout"> | ||
<div class="header-body"> | ||
<div class="row py-4 align-items-center"> | ||
<div class="col-sm-4 col-md-5 align-items-center"> | ||
<h2 class="d-inline-flex mb-0 long-texts">@yield('title')</h2> | ||
@yield('dashboard_action') | ||
</div> | ||
<div class="col-sm-8 col-md-7"> | ||
<div class="text-right"> | ||
@yield('new_button') | ||
<div id="header" class="header pb-6"> | ||
<div class="container-fluid content-layout"> | ||
<div class="header-body"> | ||
<div class="row py-4 align-items-center"> | ||
<div class="col-sm-4 col-md-5 align-items-center"> | ||
<h2 class="d-inline-flex mb-0 long-texts">@yield('title')</h2> | ||
@yield('dashboard_action') | ||
</div> | ||
<div class="col-sm-8 col-md-7"> | ||
<div class="text-right"> | ||
@yield('new_button') | ||
|
||
@permission('read-modules-home') | ||
@if (!empty($suggestion_modules)) | ||
@foreach($suggestion_modules as $s_module) | ||
<span> | ||
<a href="{{ url($s_module->action_url) . '?' . http_build_query((array) $s_module->action_parameters) }}" class="btn btn-white btn-sm header-button-bottom" target="{{ $s_module->action_target }}"><span class="fa fa-rocket"></span> {{ $s_module->name }}</a> | ||
</span> | ||
@endforeach | ||
@endif | ||
@endpermission | ||
@permission('read-modules-home') | ||
@if (!empty($suggestion_modules)) | ||
@foreach($suggestion_modules as $s_module) | ||
<span> | ||
<a href="{{ url($s_module->action_url) . '?' . http_build_query((array) $s_module->action_parameters) }}" class="btn btn-white btn-sm header-button-bottom" target="{{ $s_module->action_target }}"><span class="fa fa-rocket"></span> {{ $s_module->name }}</a> | ||
</span> | ||
@endforeach | ||
@endif | ||
@endpermission | ||
|
||
@stack('header_button') | ||
</div> | ||
@stack('header_button') | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@stack('header_end') |
Oops, something went wrong.