@php $controller = DzHelper::controller(); $action = DzHelper::action(); @endphp {{-- --}} {{ config('dz.name') }} | @yield('title', $page_title ?? '') {{-- --}} @php $current_page = isset($action) ? $action : ''; $action = isset($action) ? $controller.'_'.$action : 'dashboard_1'; @endphp @if(!empty(config('dz.public.pagelevel.css.'.$action))) @foreach(config('dz.public.pagelevel.css.'.$action) as $style) @endforeach @endif {{-- Global Theme Styles (used by all pages) --}} @if(!empty(config('dz.public.global.css'))) @foreach(config('dz.public.global.css') as $style) @endforeach @endif
@php $active_class = ($current_page == 'email_read') ? 'overflow-unset' : ''; @endphp
@include('elements.header') @include('elements.sidebar') @php $content_body = '' ; if ($current_page == 'dashboard_1') { $content_body = 'rightside-event'; } if ($current_page == 'dashboard_2') { $content_body = 'rightside-event'; } if ($current_page == 'ui_badge') { $content_body = 'badge-demo'; } if ($current_page == 'ui_button') { $content_body = 'btn-page'; } @endphp {{--
--}}
@yield('content')
@stack('modals') @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 @if (Session::has('success')) @endif @if (Session::has('error')) @endif @stack('scripts')