{{-- Domain Selector --}} {{ __('Select Domain') }} @if($selectedDomainId) @php $status = $this->getZoneStatus(); @endphp @if($status)
@if($status['zone_file_exists']) {{ __('Active') }} @else {{ __('Missing') }} @endif {{ $status['records_count'] }} {{ __('records') }} {{ __('Owner') }}: {{ $status['user'] }}
@endif
@endif {{ $this->form }}
@if($selectedDomainId) {{-- Pending Adds Preview --}} @if(count($pendingAdds) > 0) {{ __('New Records to Add') }}
@foreach($pendingAdds as $index => $add)
{{ $add['type'] }} {{ $add['name'] }} {{ Str::limit($add['content'], 40) }}
@endforeach
@endif {{-- Records Table --}} {{ $this->table }} @else {{ __('No Domain Selected') }} {{ __('Select a domain from the dropdown above to manage its DNS records.') }} @endif