@forelse($executions as $execution) data_get($execution, 'id') == $selectedKey, 'border-blue-500/50 border-dashed' => data_get($execution, 'status') === 'running', 'border-error' => data_get($execution, 'status') === 'failed', 'border-success' => data_get($execution, 'status') === 'success', ])> @if (data_get($execution, 'status') === 'running')
@endif
data_get($execution, 'status') === 'running', 'bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-200 dark:shadow-red-900/5' => data_get($execution, 'status') === 'failed', 'bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-200 dark:shadow-green-900/5' => data_get($execution, 'status') === 'success', ])> @php $statusText = match(data_get($execution, 'status')) { 'success' => 'Success', 'running' => 'In Progress', 'failed' => 'Failed', default => ucfirst(data_get($execution, 'status')) }; @endphp {{ $statusText }}
Started: {{ formatDateInServerTimezone(data_get($execution, 'created_at', now()), $server) }} @if(data_get($execution, 'status') !== 'running')
Ended: {{ formatDateInServerTimezone(data_get($execution, 'finished_at'), $server) }}
Duration: {{ calculateDuration(data_get($execution, 'created_at'), data_get($execution, 'finished_at')) }}
Finished {{ \Carbon\Carbon::parse(data_get($execution, 'finished_at'))->diffForHumans() }} @endif
@if (strlen(data_get($execution, 'message', '')) > 0)
Download Logs
@endif @if (data_get($execution, 'id') == $selectedKey)
@if (data_get($execution, 'status') === 'running')
Execution is running...
@endif @if ($this->logLines->isNotEmpty())

Status Message:

@foreach ($this->logLines as $line)
{{ $line }}
@endforeach
@if ($this->hasMoreLogs()) Load More @endif
@else
Status Message:
No output was recorded for this execution.
@endif @if (data_get($execution, 'cleanup_log'))

Cleanup Log:

@foreach(json_decode(data_get($execution, 'cleanup_log'), true) as $result)
{{ data_get($result, 'command') }}
@php $output = data_get($result, 'output'); $hasOutput = !empty(trim($output)); @endphp
@if($hasOutput)
{{ $output }}
@else

No output returned - command completed successfully

@endif
@endforeach
@endif
@endif @empty
No executions found.
@endforelse