-
-
-
- @if ($lastDeploymentLink)
-
- {{ $displayStatus }}
-
- @else
- {{ $displayStatus }}
- @endif
-
- @if ($healthStatus && !str($displayStatus)->contains('('))
-
({{ $healthStatus }})
- @endif
- @php
- $showUnknownHelper =
- !str($status)->startsWith('Proxy') &&
- (str($status)->contains('unknown') || str($healthStatus)->contains('unknown'));
- $showUnhealthyHelper =
- !str($status)->startsWith('Proxy') &&
- (str($status)->contains('unhealthy') || str($healthStatus)->contains('unhealthy'));
- @endphp
- @if ($showUnknownHelper)
-
+
+ @if ($lastDeploymentLink)
+
+ @else
+
+ @endif
+ @if ($showUnknownHelper)
+
- @endif
- @if ($showUnhealthyHelper)
-
+ @endif
+ @if ($showUnhealthyHelper)
+
- @endif
-
-
+ @endif
diff --git a/resources/views/components/status/services.blade.php b/resources/views/components/status/services.blade.php
index ff1862c73..0f90751b5 100644
--- a/resources/views/components/status/services.blade.php
+++ b/resources/views/components/status/services.blade.php
@@ -14,19 +14,9 @@
@endif
@if (!str($complexStatus)->contains('exited') && $showRefreshButton)
-
-
+
@endif
diff --git a/resources/views/components/status/stopped.blade.php b/resources/views/components/status/stopped.blade.php
index 0af349d40..221ba5e67 100644
--- a/resources/views/components/status/stopped.blade.php
+++ b/resources/views/components/status/stopped.blade.php
@@ -3,46 +3,12 @@
'noLoading' => false,
])
@php
- // Handle both colon format (backend) and parentheses format (from services.blade.php)
- // For exited containers, health status is hidden (health checks don't run on stopped containers)
- // exited:unhealthy → Exited
- // exited (unhealthy) → Exited
-
if (str($status)->contains('(')) {
- // Already in parentheses format from services.blade.php - use as-is
- $displayStatus = $status;
- $healthStatus = str($status)->after('(')->before(')')->trim()->value();
-
- // Don't show health status for exited containers (health checks don't run on stopped containers)
- if (str($displayStatus)->lower()->contains('exited')) {
- $displayStatus = str($status)->before('(')->trim()->headline();
- $healthStatus = null;
- }
+ $displayStatus = str($status)->before('(')->trim()->headline()->value();
} elseif (str($status)->contains(':')) {
- // Colon format from backend - transform it
- $parts = explode(':', $status);
- $displayStatus = str($parts[0])->headline();
- $healthStatus = $parts[1] ?? null;
-
- // Don't show health status for exited containers (health checks don't run on stopped containers)
- if (str($displayStatus)->lower()->contains('exited')) {
- $healthStatus = null;
- }
+ $displayStatus = str(explode(':', $status)[0])->headline()->value();
} else {
- // Simple status without health
- $displayStatus = str($status)->headline();
- $healthStatus = null;
+ $displayStatus = str($status)->headline()->value();
}
@endphp
-
- @if (!$noLoading)
-
- @endif
-
-
- {{ $displayStatus }}
- @if ($healthStatus && !str($displayStatus)->contains('('))
- ({{ $healthStatus }})
- @endif
-
-
+
diff --git a/resources/views/livewire/project/service/resource-card.blade.php b/resources/views/livewire/project/service/resource-card.blade.php
index 47fb00914..95af5a732 100644
--- a/resources/views/livewire/project/service/resource-card.blade.php
+++ b/resources/views/livewire/project/service/resource-card.blade.php
@@ -43,7 +43,15 @@ class="w-4 h-4 dark:text-warning text-coollabs"
@endcan
@endif
-
$isApplication, 'text-xs'])>{{ formatContainerStatus($resource->status) }}
+
$isApplication])>
+ @if (str($resource->status)->contains('running'))
+
+ @elseif (str($resource->status)->contains(['starting', 'restarting', 'degraded']))
+
+ @else
+
+ @endif
+
@if ($isDatabase && ($resource->isBackupSolutionAvailable() || $resource->is_migrated))
diff --git a/resources/views/livewire/server/navbar.blade.php b/resources/views/livewire/server/navbar.blade.php
index bf55ca7f6..ed7d59980 100644
--- a/resources/views/livewire/server/navbar.blade.php
+++ b/resources/views/livewire/server/navbar.blade.php
@@ -12,65 +12,50 @@
-
-
Server
- @if ($server->proxySet())
-
-
- @if ($proxyStatus === 'running')
-
- @elseif ($proxyStatus === 'restarting')
-
- @elseif ($proxyStatus === 'stopping')
-
- @elseif ($proxyStatus === 'starting')
-
- @elseif (data_get($server, 'proxy.force_stop'))
-
-
-
- @elseif ($proxyStatus === 'exited')
-
-
+
+
+
Server
+ @if ($server->proxySet() || $server->isSentinelEnabled())
+
+ @if ($server->proxySet())
+
+ @if ($proxyStatus === 'running')
+
+ @elseif ($proxyStatus === 'restarting')
+
+ @elseif ($proxyStatus === 'stopping')
+
+ @elseif ($proxyStatus === 'starting')
+
+ @elseif (data_get($server, 'proxy.force_stop'))
+
+ @elseif ($proxyStatus === 'exited')
+
+ @endif
+
@endif
-
-
- Checking Ports Availability...
-
- @if ($proxyStatus !== 'exited')
-
-
+ @if ($server->isSentinelEnabled())
+ @if ($server->isSentinelLive())
+
+ @else
+
+ @endif
+ @endif
+ @if ($server->proxySet())
+
@endif
-
- @endif
- @if ($server->isSentinelEnabled())
-
-
- @if ($server->isSentinelLive())
-
- @else
-
- @endif
-
-
- @endif
+ @endif
+
+
{{ data_get($server, 'name') }}
-
{{ data_get($server, 'name') }}