Enhance terminal connection handling in execute-container-command view
This commit is contained in:
@@ -33,22 +33,19 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
@endif
|
||||
@if ($type === 'server')
|
||||
@if ($server->isTerminalEnabled())
|
||||
<form class="w-full flex gap-2 items-start justify-start"
|
||||
wire:submit="$dispatchSelf('connectToServer')">
|
||||
<form class="w-full flex gap-2 items-start justify-start" wire:submit="$dispatchSelf('connectToServer')">
|
||||
<h2 class="pb-4">Terminal</h2>
|
||||
<x-forms.button type="submit" :disabled="$isConnecting">
|
||||
Reconnect
|
||||
</x-forms.button>
|
||||
</form>
|
||||
|
||||
{{-- Loading indicator for all connection states --}}
|
||||
@if (!$containersLoaded || $isConnecting || $connectionStatus)
|
||||
<span class="text-sm">{{ $connectionStatus }}</span>
|
||||
@endif
|
||||
|
||||
</form>
|
||||
<div class="mx-auto w-full">
|
||||
<livewire:project.shared.terminal wire:key="terminal-{{ $this->getId() }}-server" />
|
||||
</div>
|
||||
@@ -100,7 +97,6 @@
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@script
|
||||
<script>
|
||||
|
Reference in New Issue
Block a user