42 lines
1.1 KiB
PHP
Executable File
42 lines
1.1 KiB
PHP
Executable File
@section('content')
|
|
<section class="content">
|
|
@include('admin::partials.alerts')
|
|
@include('admin::partials.exception')
|
|
|
|
{!! $content !!}
|
|
|
|
@include('admin::partials.toastr')
|
|
</section>
|
|
@endsection
|
|
|
|
@section('app')
|
|
{!! Dcat\Admin\Admin::asset()->styleToHtml() !!}
|
|
|
|
<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('admin::layouts.full-page', ['header' => $header])
|
|
@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
|