@php $field = 'h-9 w-full rounded-md border border-line bg-inset px-3 text-sm text-ink placeholder:text-ink-4 focus:border-accent/40 focus:outline-none'; $label = 'mb-1 block font-mono text-[11px] uppercase tracking-wider text-ink-3'; @endphp
{{-- Header --}}

{{ __('health.eyebrow') }}

{{ __('health.title') }}

{{ __('health.subtitle') }}

@if ($ready && $total > 0) {{ __('health.up_of', ['up' => $up, 'total' => $total]) }} @endif
{{-- Add check --}}
@error('target')

{{ $message }}

@enderror
$type !== 'tcp'])> @error('port')

{{ $message }}

@enderror
{{ __('health.add') }}
{{-- Checks --}} @if ($checks->isEmpty())

{{ __('health.no_checks_title') }}

{{ __('health.no_checks') }}

@else
@foreach ($checks as $check) @php($r = $results[$check->uuid] ?? null)

{{ $check->label ?: $check->target }}

{{ $check->type }} · {{ $check->target }}@if ($check->type === 'tcp'):{{ $check->port }}@endif @if ($r) · {{ $r['detail'] }} @endif

@if ($r && ! is_null($r['latency'])) {{ __('health.latency', ['ms' => $r['latency']]) }} @endif @if ($r) {{ $r['ok'] ? __('health.status_up') : __('health.status_down') }} @endif {{ __('health.delete') }}
@endforeach
@endif