@section('content')
@if($header || $description)

{!! $header !!} {!! $description !!}

@elseif($breadcrumb || config('admin.enable_default_breadcrumb'))
 
@endif @include('admin::partials.breadcrumb')
@include('admin::partials.alerts') @include('admin::partials.exception') {!! $content !!}
@if(Session::has('layer-msg')) @php $bag = Session::get('layer-msg'); $type = $bag->get('type')[0] ?? 'success'; $message = $bag->get('message')[0] ?? ''; $offset = $bag->get('offset')[0] ?? ''; @endphp @endif @endsection @section('app') {!! Dcat\Admin\Admin::style() !!} {!! admin_section(AdminSection::APP_INNER_BEFORE) !!}
@yield('content')
{!! admin_section(AdminSection::APP_INNER_AFTER) !!} {!! Dcat\Admin\Admin::script() !!} {!! Dcat\Admin\Admin::html() !!} @endsection @if(!request()->pjax()) @include('admin::index', ['header' => $header]) @else {{ Dcat\Admin\Admin::title() }} @if($header) | {{ $header }}@endif {!! Dcat\Admin\Admin::css() !!} {!! Dcat\Admin\Admin::js() !!} @yield('app') @endif