full-content.blade.php
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@section('content')
<section class="content">
@include('admin::partials.alerts')
@include('admin::partials.exception')
{!! $content !!}
@include('admin::partials.toastr')
</section>
@endsection
@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('admin::partials.breadcrumb')
</section>
@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() !!}
{!! Dcat\Admin\Admin::html() !!}
@endsection
@if(!request()->pjax())
@include('iframe-tab::full-page', ['header' => $header])
@else
<title>{{ Dcat\Admin\Admin::title() }} @if($header) | {{ $header }}@endif</title>
<script>
try {
Dcat.pjaxResponded();
}catch (e) {
Dcat.wait();
}
</script>
{!! Dcat\Admin\Admin::asset()->cssToHtml() !!}
{!! Dcat\Admin\Admin::asset()->jsToHtml() !!}
@yield('app')
@endif