@php
$controller = DzHelper::controller();
$page = $action = DzHelper::action();
$action = $controller.'_'.$action;
@endphp
@include('elements.header')
@include('elements.sidebar')
@php
$body_class = '';
if($page == 'ui_button'){ $body_class = 'btn-page';}
if($page == 'ui_badge'){ $body_class = 'badge-demo';}
@endphp
@yield('content')
@stack('models')
@include('elements.footer')
@if(!empty(config('dz.public.global.js.top')))
@foreach(config('dz.public.global.js.top') as $script)
@endforeach
@endif
@if(!empty(config('dz.public.pagelevel.js.'.$action)))
@foreach(config('dz.public.pagelevel.js.'.$action) as $script)
@endforeach
@endif
@if(!empty(config('dz.public.global.js.bottom')))
@foreach(config('dz.public.global.js.bottom') as $script)
@endforeach
@endif
@stack('scripts')