@php $themeLayout = themeLayout(); $themeLayout->direction_mode = intVal($themeLayout->direction_mode); $themeLayout->fluid_layout = intVal($themeLayout->fluid_layout); $themeLayout->dark_mode = intVal($themeLayout->dark_mode); $themeLayout->nav_position = intVal($themeLayout->nav_position); $fullwidth = ''; //$themeLayout->nav_position==2?' full-width':''; @endphp direction_mode == 0) dir="rtl" id="rtl" @endif> {{-- HEADER FILES --}} @include('v2.admin.layout.header_scripts') @yield('title', 'Cursor Ltd | Admin Panel') {{-- CUSTOM CSS --}} @yield('custom_style') @yield('custom_css')
{{-- SIDEBAR --}} @include('v2.admin.layout.sidebar_v3', ['hide_sidebar' => @$hide_sidebar]) {{-- WIDGET SIDEBAR --}} @include('v2.admin.layout.sidebar-widget') {{-- CONTENT --}} {{-- @dd($themeLayout->nav_position==2); --}}
{{-- HEADER VIEW --}} @include('v2.admin.layout.header_view_v3') @include('v2.admin.layout.active_navbar')
@include('admin.global.master_loader') @if ($errors->any()) @foreach ($errors->all() as $error)
{{ $error }}
@endforeach @endif @if (session()->has('Smsg'))
{!! session()->get('Smsg') !!}
@elseif(session()->has('Fmsg'))
{{ session()->get('Fmsg') }}
@endif @yield('content') @include('admin.role_mapping.mapping_forward_modal') @include('v2.admin.global.empty_modal', [ 'modal_id' => 'approval_history_modal', 'modal_title' => 'Approval History', 'modal_body_id' => 'approval_history' ])
{{-- SUPPORT --}} @if (!empty(env('PM_CLIENT_REF_ID'))) @include('admin.support.index') @endif {{-- FOOTER VIEW --}} @include('v2.admin.layout.footer_view')
{{-- FOOTER FILES --}} @include('v2.admin.layout.footer_scipts') @include('v2.admin.layout.theme_js_v3') {{-- CUSTOM JS --}} @yield('custom_js') @yield('script') @yield('script_after') {{--
--}}