@php
$worst = $this->worstState();
$problems = $this->problemCount();
$bannerMap = [
'online' => ['bg' => 'bg-online/10', 'bar' => 'bg-online', 'icon' => 'check', 'tint' => 'text-online'],
'warning' => ['bg' => 'bg-warning/10', 'bar' => 'bg-warning', 'icon' => 'alert', 'tint' => 'text-warning'],
'offline' => ['bg' => 'bg-offline/10', 'bar' => 'bg-offline', 'icon' => 'alert', 'tint' => 'text-offline'],
];
$b = $bannerMap[$worst];
$stateLabel = [
'online' => __('common.status_online'),
'warning' => __('common.status_warning'),
'offline' => __('common.status_offline'),
];
@endphp
{{ $worst === 'online'
? __('host.health_ok_title')
: trans_choice('host.health_problem_title', $problems, ['count' => $problems]) }}
{{ $worst === 'online' ? __('host.health_ok_body') : __('host.health_problem_body') }}
{{ __('host.checked_at', ['time' => $checkedAt]) }}
@foreach ($services as $svc)
{{ $svc['label'] }}
{{ $svc['detail'] }}
{{ $stateLabel[$svc['state']] }}
@endforeach
@if ($hasMetrics)
@else
{{ __('host.chart_empty') }}
@endif
- {{ __('host.stack_framework') }}
- Laravel {{ app()->version() }}
- {{ __('host.stack_database') }}
- PostgreSQL 17 · TSDB
- {{ __('host.stack_realtime') }}
- Reverb
- {{ __('host.stack_queue') }}
- Redis · Horizon