getLocale()) }}" dir="{{ $textDirection ?? 'ltr' }}"> @yield("title", "Admin") - {{ company_name() }} @vite(["resources/css/app.css"]) @if(!empty($customFavicon)) @endif @if(!empty($themeCssVars)) @endif @if(($textDirection ?? 'ltr') === 'rtl') @endif {!! hook_output('AdminAreaHeadOutput', ['admin' => auth('admin')->user()]) !!} @include('partials.dialog-boot') {{-- ═══════════════════════════════════════════════ NAVIGATION BAR (WHMCS Blend exact structure) ═══════════════════════════════════════════════ --}} {{-- ═══════════════════════════════════════════════ SIDEBAR (WHMCS Blend exact structure) ═══════════════════════════════════════════════ --}} {{-- ═══════════════════════════════════════════════ CONTENT AREA ═══════════════════════════════════════════════ --}}
{{-- Cron, the queue worker or the nightly backup stopped: said on every page to the staff who can act on it (see SystemStatus). --}} @if(auth('admin')->user()?->hasPermission('view_system')) @foreach(\App\Support\SystemStatus::bannerProblems() as $systemProblem)
{{ $systemProblem }} {{ __('admin.system_status.title') }}
@endforeach @endif {{-- Flash Messages --}} @if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if(session('warning'))
{{ session('warning') }}
@endif @if(session('info'))
{{ session('info') }}
@endif {{-- A form that failed validation used to come back with no word of why, since few admin pages print $errors themselves. --}} @if($errors->any())
@foreach($errors->all() as $message)
{{ $message }}
@endforeach
@endif @yield('content')
{{-- ═══════════════════════════════════════════════ FOOTER ═══════════════════════════════════════════════ --}}
© {{ date('Y') }} {{ company_name() }}@if(! branding_removed()) - {{ __('admin.footer.billing_support_system') }} · GitHub@endif
{{ __('admin.footer.admin_home') }} | {{ __('admin.nav.client_area') }} | {{ __('admin.nav.logs') }}
@include('admin.partials.update-bar') @vite(["resources/js/app.js"]) @stack('scripts') {!! hook_output('AdminAreaFooterOutput', ['admin' => auth('admin')->user()]) !!}