diff --git a/composer.json b/composer.json index e0cb58b..64b192b 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "Laravel", "Backpack", "Backpack for Laravel", "Backpack Addon", "ThemeCoreuiv4" ], "require": { - "backpack/crud": "^6.2" + "backpack/crud": "^6.2.1" }, "require-dev": { "phpunit/phpunit": "~9.0", diff --git a/resources/views/errors/blank.blade.php b/resources/views/errors/blank.blade.php new file mode 100644 index 0000000..42f67c7 --- /dev/null +++ b/resources/views/errors/blank.blade.php @@ -0,0 +1,14 @@ + + + + + + {{ trans('backpack::base.error_page.title', ['error' => $error_number]) }} + + @include(backpack_view('inc.theme_styles')) + @include(backpack_view('inc.styles')) + + + @yield('content') + + diff --git a/resources/views/errors/layout.blade.php b/resources/views/errors/layout.blade.php new file mode 100644 index 0000000..233ca9b --- /dev/null +++ b/resources/views/errors/layout.blade.php @@ -0,0 +1,23 @@ +@extends(backpack_view(backpack_user() && backpack_theme_config('layout') ? 'layouts.'.backpack_theme_config('layout') : 'errors.blank')) + +@section('content') +
+
+
+
+

{{ $error_number }}

+
+

@yield('title')

+

@yield('description')

+ +
+
+
+
+
+@endsection \ No newline at end of file