{{-- CSRF Token --}}
{{ config('app.name', 'Laravel') }}
{{-- Scripts --}} @yield('head-script') {{-- Fonts --}}
{{-- Styles --}}
@yield('head-styles')
@auth
Dashboard
{{ auth('admin')->user()->currentRole()->title }}
{{--
{{ __('DashBoard') }}
--}} @include('ctrl.sections_dropmenu')
@auth
{{ auth('admin')->user()->full_name }}
@if($roles = auth('admin')->user()->allRolesIfMany())
{{ __('Change Role To') }}
@foreach($roles as $role) @if($role->id != auth('admin')->user()->logged_in_role)
@csrf @method('PATCH')
{{$role->title}}
@endif @endforeach
@endif @if(url()->current() != url()->route('users.settings', [auth('admin')->user()->fake_id]))
{{ __('Settings') }}
@endif @if(auth('admin')->user()->is_super_user)
@if(app()->isDownForMaintenance()) {{ __('GET UP FROM MAINTENANCE') }} @else {{ __('Maintenance Mode') }} @endif
@endif
{{ __('Logout') }}
@csrf
@endauth
@endauth
@yield('content')