From 9bb349dd9c4d4d61c5d640ccfe19c3b34bd965a9 Mon Sep 17 00:00:00 2001 From: boban Date: Sat, 20 Jun 2026 20:41:59 +0200 Subject: [PATCH] feat(dashboard): link the active server name + IP to its detail page When a server is active, the server name and IP status-pill are now clickable links to that server's detail page using wire:navigate. When no server is active, both display as plain text to maintain readability. Co-Authored-By: Claude Opus 4.8 --- resources/views/livewire/dashboard.blade.php | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/resources/views/livewire/dashboard.blade.php b/resources/views/livewire/dashboard.blade.php index e4df14e..81d0c6f 100644 --- a/resources/views/livewire/dashboard.blade.php +++ b/resources/views/livewire/dashboard.blade.php @@ -20,10 +20,22 @@ {{-- Header --}}
-

{{ $active?->name ?? '—' }}

+ @if ($active) + +

{{ $active->name }}

+
+ @else +

+ @endif

{{ __('dashboard.heading') }}

- {{ $active?->ip ?? '—' }} + @if ($active) + + {{ $active->ip }} + + @else + + @endif
{{-- KPI tiles with sparklines (active server) --}}