diff --git a/resources/views/livewire/project/application/configuration.blade.php b/resources/views/livewire/project/application/configuration.blade.php index 6b015e3fb..f4cd0afd0 100644 --- a/resources/views/livewire/project/application/configuration.blade.php +++ b/resources/views/livewire/project/application/configuration.blade.php @@ -37,8 +37,7 @@ d="M240.26 186.1L152.81 34.23a28.74 28.74 0 0 0-49.62 0L15.74 186.1a27.45 27.45 0 0 0 0 27.71A28.31 28.31 0 0 0 40.55 228h174.9a28.31 28.31 0 0 0 24.79-14.19a27.45 27.45 0 0 0 .02-27.71m-20.8 15.7a4.46 4.46 0 0 1-4 2.2H40.55a4.46 4.46 0 0 1-4-2.2a3.56 3.56 0 0 1 0-3.73L124 46.2a4.77 4.77 0 0 1 8 0l87.44 151.87a3.56 3.56 0 0 1 .02 3.73M116 136v-32a12 12 0 0 1 24 0v32a12 12 0 0 1-24 0m28 40a16 16 0 1 1-16-16a16 16 0 0 1 16 16" /> - @endif - @if ($application->server_status == false) + @elseif ($application->server_status == false)

Primary Server

+ class="relative flex flex-col bg-white border cursor-default dark:text-white box-without-bg dark:bg-coolgray-100 dark:border-black"> @if (str($resource->realStatus())->startsWith('running'))
@@ -35,7 +35,8 @@

Additional Server(s)

@foreach ($resource->additional_networks as $destination)
-
+
@if (str(data_get($destination, 'pivot.status'))->startsWith('running'))
@@ -75,25 +76,27 @@ @endif
@if ($resource->getMorphClass() === 'App\Models\Application' && data_get($resource, 'build_pack') !== 'dockercompose') - @if (count($networks) > 0) -

Choose another server

-
- @foreach ($networks as $network) -
-
-
- Server: {{ data_get($network, 'server.name') }} -
-
- Network: {{ data_get($network, 'name') }} +
+ @if (count($networks) > 0) +

Add another server

+
+ @foreach ($networks as $network) +
+
+
+ Server: {{ data_get($network, 'server.name') }} +
+
+ Network: {{ data_get($network, 'name') }} +
-
- @endforeach -
- @else -
No additional servers available to attach.
- @endif + @endforeach +
+ @else +
No additional servers available to attach.
+ @endif +
@endif