{{-- Colores del skin --}} {{-- Header --}}

{{ __('Checklist Q/A del Sistema') }}

{{ __('Verificación completa del estado de la aplicación') }}

{{ __('Total') }} {{ $results['summary']['total'] ?? 0 }}
{{ __('Exitosos') }} {{ $results['summary']['passed'] ?? 0 }}
{{ __('Advertencias') }} {{ $results['summary']['warnings'] ?? 0 }}
{{ __('Fallidos') }} {{ $results['summary']['failed'] ?? 0 }}
@php $overallStatus = $results['overall_status'] ?? 'unknown'; $statusClass = $overallStatus === 'ok' ? 'success' : ($overallStatus === 'failed' ? 'danger' : 'warning'); @endphp @if($overallStatus === 'ok') {{ __('Sistema Operativo') }} @elseif($overallStatus === 'failed') {{ __('Problemas Detectados') }} @else {{ __('Revisar Advertencias') }} @endif
@foreach($results['checks'] ?? [] as $category => $checks) @php $categoryNames = [ 'security' => 'Seguridad', 'database' => 'Base de Datos', 'files' => 'Archivos', 'configuration' => 'Configuración', 'performance' => 'Rendimiento', 'connectivity' => 'Conectividad', 'modules' => 'Módulos Activos', ]; $categoryName = $categoryNames[$category] ?? ucfirst($category); $categoryId = 'category-' . $category; $hasFailures = collect($checks)->contains('status', 'failed'); $hasWarnings = collect($checks)->contains('status', 'warning'); $badgeClass = $hasFailures ? 'danger' : ($hasWarnings ? 'warning' : 'success'); @endphp

@foreach($checks as $check) @php $status = $check['status'] ?? 'unknown'; $statusBadge = [ 'passed' => ['class' => 'success', 'icon' => 'check-circle', 'text' => 'Exitoso'], 'failed' => ['class' => 'danger', 'icon' => 'cross-circle', 'text' => 'Fallido'], 'warning' => ['class' => 'warning', 'icon' => 'information', 'text' => 'Advertencia'], ][$status] ?? ['class' => 'secondary', 'icon' => 'question', 'text' => 'Desconocido']; @endphp @endforeach
{{ __('Verificación') }} {{ __('Estado') }} {{ __('Mensaje') }}
{{ $check['name'] ?? 'N/A' }} {{ $statusBadge['text'] }} {{ $check['message'] ?? 'Sin mensaje' }}
@endforeach
{{ __('Última verificación') }}: {{ \Carbon\Carbon::parse($results['timestamp'] ?? now())->format('d/m/Y H:i:s') }}
@push('scripts') @endpush