diff --git a/resources/views/livewire/project/shared/execute-container-command.blade.php b/resources/views/livewire/project/shared/execute-container-command.blade.php index dc484f5e7..f34a62bd4 100644 --- a/resources/views/livewire/project/shared/execute-container-command.blade.php +++ b/resources/views/livewire/project/shared/execute-container-command.blade.php @@ -33,11 +33,32 @@ + @endif + @if ($type === 'server') + @if ($server->isTerminalEnabled()) +
+

Terminal

+ + Reconnect + + {{-- Loading indicator for all connection states --}} + @if (!$containersLoaded || $isConnecting || $connectionStatus) + {{ $connectionStatus }} + @endif +
+
+ +
+ @else +
Terminal access is disabled on this server.
+ @endif @else - @if ($type === 'server') - @if ($server->isTerminalEnabled()) -
+ @if (count($containers) === 0) +
No containers are running on this server or terminal access is disabled.
+ @else + @if (count($containers) === 1) +

Terminal

Reconnect @@ -48,57 +69,32 @@ @if (!$containersLoaded || $isConnecting || $connectionStatus) {{ $connectionStatus }} @endif - -
- -
@else -
Terminal access is disabled on this server.
- @endif - @else - @if (count($containers) === 0) -
No containers are running on this server or terminal access is disabled.
- @else - @if (count($containers) === 1) - -

Terminal

- - Reconnect - - +
+ + @foreach ($containers as $container) + @if ($loop->first) + + @endif + + @endforeach + + + {{ $isConnecting ? 'Connecting...' : 'Connect' }} + +
- {{-- Loading indicator for all connection states --}} - @if (!$containersLoaded || $isConnecting || $connectionStatus) - {{ $connectionStatus }} - @endif - @else -
- - @foreach ($containers as $container) - @if ($loop->first) - - @endif - - @endforeach - - - {{ $isConnecting ? 'Connecting...' : 'Connect' }} - -
- - {{-- Loading indicator for manual connection --}} - @if ($isConnecting || $connectionStatus) - {{ $connectionStatus }} - @endif + {{-- Loading indicator for manual connection --}} + @if ($isConnecting || $connectionStatus) + {{ $connectionStatus }} @endif -
- -
@endif +
+ +
@endif @endif