feat(ui): put the star button after the status in the top bar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Andras Bacsai
2026-11-06 18:29:43 +01:00
co-authored by Claude Opus 5.5
parent c648f4ec6a
commit 5af4715b8a
2 changed files with 3 additions and 3 deletions
@@ -269,8 +269,6 @@
@if ($currentResource)
<x-breadcrumb-switcher title="Resources" :label="$currentResource->name" :uuid="$currentResource->uuid" :items="$resourceItems">
<x-slot:meta>
<livewire:star-toggle :resource="$currentResource"
:wire:key="'star-'.$currentResource->getMorphClass().'-'.$currentResource->uuid" />
{{-- Below xl, the page heading shows the status. --}}
<div class="hidden xl:flex">
@if ($currentApplication)
@@ -284,6 +282,8 @@
:wire:key="'service-status-'.$currentService->uuid" />
@endif
</div>
<livewire:star-toggle :resource="$currentResource"
:wire:key="'star-'.$currentResource->getMorphClass().'-'.$currentResource->uuid" />
</x-slot:meta>
</x-breadcrumb-switcher>
@endif
@@ -154,9 +154,9 @@
</template>
</div>
</span>
<livewire:star-toggle :resource="$server" :wire:key="'star-server-'.$server->uuid" />
<x-server.status-summary :server="$server" :proxy-status="$proxyStatus"
:show-sentinel-status="$showSentinelStatus" />
<livewire:star-toggle :resource="$server" :wire:key="'star-server-'.$server->uuid" />
</div>
@endteleport