11@extends (config (' LaravelLogger.loggerBladeExtended' ) )
22
3- @section (' template_title' )
4- @lang (' LaravelLogger::laravel-logger.dashboardCleared.title' )
5- @endsection
3+ @if (config (' LaravelLogger.bladePlacement' ) == ' yield' )
4+ @section (config (' LaravelLogger.bladePlacementCss' ) )
5+ @elseif (config (' LaravelLogger.bladePlacement' ) == ' stack' )
6+ @push (config (' LaravelLogger.bladePlacementCss' ) )
7+ @endif
68
7- @if (config (' LaravelLogger.enableBladeCssPlacement' ) )
8- @section (' template_linked_css' )
99 @include (' LaravelLogger::partials.styles' )
10+
11+ @if (config (' LaravelLogger.bladePlacement' ) == ' yield' )
12+ @endsection
13+ @elseif (config (' LaravelLogger.bladePlacement' ) == ' stack' )
14+ @endpush
15+ @endif
16+
17+ @if (config (' LaravelLogger.bladePlacement' ) == ' yield' )
18+ @section (config (' LaravelLogger.bladePlacementJs' ) )
19+ @elseif (config (' LaravelLogger.bladePlacement' ) == ' stack' )
20+ @push (config (' LaravelLogger.bladePlacementJs' ) )
21+ @endif
22+
23+ @include (' LaravelLogger::partials.scripts' )
24+ @include (' LaravelLogger::scripts.confirm-modal' , [' formTrigger' => ' #confirmDelete' ] )
25+ @include (' LaravelLogger::scripts.confirm-modal' , [' formTrigger' => ' #confirmRestore' ] )
26+
27+ @if (config (' LaravelLogger.enableDrillDown' ) )
28+ @include (' LaravelLogger::scripts.clickable-row' )
29+ @include (' LaravelLogger::scripts.tooltip' )
30+ @endif
31+
32+ @if (config (' LaravelLogger.bladePlacement' ) == ' yield' )
1033 @endsection
11- @else
12- @include ( ' LaravelLogger::partials.styles ' )
34+ @elseif ( config ( ' LaravelLogger.bladePlacement ' ) == ' stack ' )
35+ @endpush
1336@endif
1437
38+
39+ @section (' template_title' )
40+ @lang (' LaravelLogger::laravel-logger.dashboardCleared.title' )
41+ @endsection
42+
1543@php
1644 switch (config (' LaravelLogger.bootstapVersion' )) {
1745 case ' 4' :
101129 @include (' LaravelLogger::modals.confirm-modal' , [' formTrigger' => ' confirmDelete' , ' modalClass' => ' danger' , ' actionBtnIcon' => ' fa-trash-o' ] )
102130 @include (' LaravelLogger::modals.confirm-modal' , [' formTrigger' => ' confirmRestore' , ' modalClass' => ' success' , ' actionBtnIcon' => ' fa-check' ] )
103131
104- @endsection
105-
106- @if (config (' LaravelLogger.enableBladeJsPlacement' ) )
107- @section (' footer_scripts' )
108- @endif
109-
110- @if (config (' LaravelLogger.enablejQueryCDN' ) )
111- <script type =" text/javascript" src =" {{ config (' LaravelLogger.JQueryCDN' ) } }" ></script >
112- @endif
113-
114- @if (config (' LaravelLogger.enableBootstrapJsCDN' ) )
115- <script type =" text/javascript" src =" {{ config (' LaravelLogger.bootstrapJsCDN' ) } }" ></script >
116- @endif
117-
118- @if (config (' LaravelLogger.enablePopperJsCDN' ) )
119- <script type =" text/javascript" src =" {{ config (' LaravelLogger.popperJsCDN' ) } }" ></script >
120- @endif
121-
122- @include (' LaravelLogger::scripts.confirm-modal' , [' formTrigger' => ' #confirmDelete' ] )
123- @include (' LaravelLogger::scripts.confirm-modal' , [' formTrigger' => ' #confirmRestore' ] )
124-
125- @if (config (' LaravelLogger.loggerDatatables' ) )
126- @if (count ($activities ) > 10 )
127- @include (' LaravelLogger::scripts.datatables' )
128- @endif
129- @endif
130-
131- @if (config (' LaravelLogger.enableDrillDown' ) )
132- @include (' LaravelLogger::scripts.clickable-row' )
133- @include (' LaravelLogger::scripts.tooltip' )
134- @endif
135-
136- @if (config (' LaravelLogger.enableBladeJsPlacement' ) )
137- @endsection
138- @endif
132+ @endsection
0 commit comments