Merge pull request #2175 from chz/fix/2174

Fix: Resource Operations page: incorrect color for server and project name
This commit is contained in:
Andras Bacsai 2024-05-10 09:59:18 +02:00 committed by GitHub
commit 55e00e35c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
<div class="pb-4"> <div class="pb-4">
<div class="flex flex-col flex-wrap gap-2"> <div class="flex flex-col flex-wrap gap-2">
@foreach ($servers->sortBy('id') as $server) @foreach ($servers->sortBy('id') as $server)
<h5>Server: <span class="font-bold text-white">{{ $server->name }}</span></h5> <h5>Server: <span class="font-bold text-dark dark:text-white">{{ $server->name }}</span></h5>
@foreach ($server->destinations() as $destination) @foreach ($server->destinations() as $destination)
<x-modal-confirmation action="cloneTo({{ data_get($destination, 'id') }})"> <x-modal-confirmation action="cloneTo({{ data_get($destination, 'id') }})">
<x:slot name="content"> <x:slot name="content">
@ -33,7 +33,7 @@ class="font-bold dark:text-warning">{{ $resource->environment->project->name }}
</div> </div>
<div class="flex flex-col flex-wrap gap-2"> <div class="flex flex-col flex-wrap gap-2">
@forelse ($projects as $project) @forelse ($projects as $project)
<h5>Project: <span class="font-bold text-white">{{ $project->name }}</span></h5> <h5>Project: <span class="font-bold text-dark dark:text-white">{{ $project->name }}</span></h5>
@foreach ($project->environments as $environment) @foreach ($project->environments as $environment)
<x-modal-confirmation action="moveTo({{ data_get($environment, 'id') }})"> <x-modal-confirmation action="moveTo({{ data_get($environment, 'id') }})">