@if (str($resource->realStatus())->startsWith('running'))
@@ -12,26 +13,29 @@
@endif
-
+
Server: {{ data_get($resource, 'destination.server.name') }}
-
+
Network: {{ data_get($resource, 'destination.network') }}
@if ($resource?->additional_networks?->count() > 0)
-
Deploy
- @if (str($resource->realStatus())->startsWith('running'))
-
Stop
- @endif
+
+ Deploy
+ @if (str($resource->realStatus())->startsWith('running'))
+ Stop
+ @endif
+
@endif
@if ($resource?->additional_networks?->count() > 0)
+
Additional Server(s)
@foreach ($resource->additional_networks as $destination)
-
-
+
+
@if (str(data_get($destination, 'pivot.status'))->startsWith('running'))
@@ -40,28 +44,31 @@ class="absolute bg-success -top-1 -left-1 badge ">
class="absolute bg-error -top-1 -left-1 badge ">
@endif
- Server: {{ data_get($destination, 'server.name') }}
-
-
- Network: {{ data_get($destination, 'network') }}
+
+ Server: {{ data_get($destination, 'server.name') }}
+
+
+ Network: {{ data_get($destination, 'network') }}
+
-
Deploy
-
Promote
- to Primary
- @if (data_get_str($destination, 'pivot.status')->startsWith('running'))
-
Stop
- @endif
-
- This will stop the running application in this server and remove it as a deployment
- destination.
Please think again.
-
-
+
+ Deploy
+ Promote
+ to Primary
+ @if (data_get_str($destination, 'pivot.status')->startsWith('running'))
+ Stop
+ @endif
+
+ This will stop the running application in this server and remove it as a deployment
+ destination.
Please think again.
+
+
@endforeach
@endif
@@ -75,10 +82,12 @@ class="absolute bg-error -top-1 -left-1 badge ">
- Server: {{ data_get($network, 'server.name') }}
-
-
- Network: {{ data_get($network, 'name') }}
+
+ Server: {{ data_get($network, 'server.name') }}
+
+
+ Network: {{ data_get($network, 'name') }}
+
@endforeach
diff --git a/resources/views/livewire/project/shared/get-logs.blade.php b/resources/views/livewire/project/shared/get-logs.blade.php
index 7f8ce9495..ad4e74e0c 100644
--- a/resources/views/livewire/project/shared/get-logs.blade.php
+++ b/resources/views/livewire/project/shared/get-logs.blade.php
@@ -1,5 +1,38 @@