diff --git a/resources/views/layouts/admin.blade.php b/resources/views/layouts/admin.blade.php index 211abdf1b..caaacc422 100644 --- a/resources/views/layouts/admin.blade.php +++ b/resources/views/layouts/admin.blade.php @@ -30,6 +30,26 @@ + + + @show @@ -44,143 +64,102 @@
-

Please consider donating to kokofixcomputers using GitHub Sponsors.

+

Please consider donating to kokofixcomputers using GitHub Sponsors

+ +
+
@yield('content-header')
+ +
-
-
- @if (count($errors) > 0) -
- There was an error validating the data provided.

-
    - @foreach ($errors->all() as $error) -
  • {{ $error }}
  • - @endforeach -
-
- @endif - @foreach (Alert::getMessages() as $type => $messages) - @foreach ($messages as $message) - - @endforeach - @endforeach -
-
+ + @if (count($errors) > 0) + ... + @endif + + + @foreach (Alert::getMessages() as $type => $messages) + ... + @endforeach + @yield('content')
+
+ @section('footer-scripts') - - - - {!! Theme::js('vendor/jquery/jquery.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/sweetalert/sweetalert.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/bootstrap/bootstrap.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/slimscroll/jquery.slimscroll.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/adminlte/app.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/bootstrap-notify/bootstrap-notify.min.js?t={cache-version}') !!} - {!! Theme::js('vendor/select2/select2.full.min.js?t={cache-version}') !!} - {!! Theme::js('js/admin/functions.js?t={cache-version}') !!} - - - - - @if(Auth::user()->root_admin) - - @endif - - + ... @show