12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- @section('content-header')
- <section class="content-header breadcrumbs-top">
- @if($header || $description)
- <h1 class=" float-left">
- <span class="text-capitalize">{!! $header !!}</span>
- <small>{!! $description !!}</small>
- </h1>
- @elseif($breadcrumb || config('admin.enable_default_breadcrumb'))
- <div> </div>
- @endif
- @include('distributor.partials.breadcrumb')
- </section>
- @endsection
- @section('content')
- @include('distributor.partials.alerts')
- @include('distributor.partials.exception')
- {!! $content !!}
- @include('distributor.partials.toastr')
- @endsection
- @section('app')
- {!! Dcat\Admin\Admin::asset()->styleToHtml() !!}
- <div class="content-header">
- @yield('content-header')
- </div>
- <div class="content-body" id="app">
- {{-- 页面埋点--}}
- {!! admin_section(Dcat\Admin\Admin::SECTION['APP_INNER_BEFORE']) !!}
- @yield('content')
- {{-- 页面埋点--}}
- {!! admin_section(Dcat\Admin\Admin::SECTION['APP_INNER_AFTER']) !!}
- </div>
- {!! Dcat\Admin\Admin::asset()->scriptToHtml() !!}
- <div class="extra-html">{!! Dcat\Admin\Admin::html() !!}</div>
- @endsection
- @if(! request()->pjax())
- @include('distributor.layouts.page')
- @else
- <title>{{ Dcat\Admin\Admin::title() }} @if($header) | {{ $header }}@endif</title>
- <script>Dcat.wait()</script>
- {!! Dcat\Admin\Admin::asset()->cssToHtml() !!}
- {!! Dcat\Admin\Admin::asset()->jsToHtml() !!}
- @yield('app')
- @endif
|