@if(count($this->getDomainOptions()) > 0) {{-- Domain Selector --}} {{ __('Select Domain') }} {{ __('Choose the domain you want to view logs for.') }}
@foreach($this->getDomainOptions() as $value => $label) @endforeach
@if($selectedDomain) {{-- Statistics Banner (shown when generated) --}} @if($statsGenerated) {{ __('Statistics Report Ready') }} {{ __('Traffic analysis report has been generated for :domain', ['domain' => $selectedDomain]) }} {{ __('View Report') }} @endif {{-- Log Viewer --}} {{ __('Log Viewer') }} {{ __('Viewing :type for :domain', ['type' => $logType === 'access' ? __('access log') : __('error log'), 'domain' => $selectedDomain]) }} @if(!empty($logInfo)) ({{ $logInfo['file_size'] ?? '' }}, {{ __(':lines lines', ['lines' => $logInfo['lines'] ?? 100]) }}) @endif {{-- Log Type Buttons --}}
{{ __('Access Log') }} {{ __('Error Log') }}
{{-- Log Content --}} @if($logContent)
@else {{ __('No Log Entries') }} {{ $logType === 'access' ? __('No access log entries found. Logs will appear after visitors access your site.') : __('No error log entries found. This is good - your site has no errors.') }} @endif
@endif @else {{-- No Domains Empty State --}}

{{ __('No Domains Yet') }}

{{ __('Add a domain first to view logs and statistics.') }}

{{ __('Add Domain') }}
@endif