@props([ 'server', 'provider', 'providerLabel', 'tokenModel', 'tokens', 'manualModel', 'manualLabel', 'manualPlaceholder', 'searchByIdMethod', 'searchByIpMethod', 'linkMethod', 'searchError' => null, 'noMatch' => false, 'matched' => null, ]) @php $tokenOptions = $tokens->map(fn ($token) => [ 'value' => $token->id, 'label' => $token->name, ])->values()->all(); @endphp

Link this server to its {{ $providerLabel }} resource for provider status and power controls.

or
@if ($searchError) {{ $searchError }} @elseif ($noMatch) Try another token, confirm the resource ID, or verify the server IP. @elseif ($matched)

{{ $matched['name'] ?? 'Matched resource' }}

{{ $matched['id'] ?? 'Unknown ID' }} @if ($matched['status'] ?? null) · {{ ucfirst($matched['status']) }} @endif

@endif