+ @if (collect($domainRows)->contains(fn ($row) => $row['dns_status'] === 'checking'))
+
+
+ {{ count($domainRows) }} domain{{ count($domainRows) === 1 ? '' : 's' }}
+
+ @can('update', $preview->application)
+ @if (count($domainRows) > 0)
+
+
+ Recheck DNS
+
+ @endif
+
+
+
+
+
+
+ @endcan
+
+
+ Domain
+ DNS check
+
+
+
+ @foreach ($domainRows as $index => $row)
+ @php
+ $dnsType = match ($row['dns_status']) {
+ 'ok' => 'success',
+ 'failed' => 'error',
+ 'skipped' => 'warning',
+ default => 'neutral',
+ };
+ $dnsLabel = match ($row['dns_status']) {
+ 'ok' => 'DNS OK',
+ 'failed' => 'DNS mismatch',
+ 'skipped' => 'DNS skipped',
+ default => 'DNS pending',
+ };
+ $domainKey = hash('sha256', $row['url'].'|'.($row['service'] ?? ''));
+ @endphp
+
+
+
+
+
+
{{ $row['url'] }}
+ @if (filled($row['service']))
+
{{ $row['service'] }}
+ @endif
+
+
+
+
+
+
+
+ @can('update', $preview->application)
+
+
+
+
+
+
+
+ @endcan
+
+
+
+ @endforeach
+