wip
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
<div>
|
||||
<a @if ($status === 'in_progress' || $status === 'queued') wire:poll='polling' @endif href="{{ url()->current() }}/{{ $deployment_uuid }}">
|
||||
{{ $created_at }}
|
||||
{{ $deployment_uuid }}</a>
|
||||
{{ $status }}
|
||||
</div>
|
||||
<a @class([
|
||||
'bg-coolgray-200 p-2 border-l border-dashed border-transparent transition-colors hover:no-underline',
|
||||
'border-warning hover:bg-warning hover:text-black' =>
|
||||
$status == 'in_progress' || $status == 'queued',
|
||||
'border-error hover:bg-error' => $status == 'error',
|
||||
'border-success hover:bg-success' => $status == 'finished',
|
||||
]) @if ($status === 'in_progress' || $status === 'queued')
|
||||
wire:poll.5000ms='polling'
|
||||
@endif href="{{ url()->current() }}/{{ $deployment_uuid }}" class="hover:no-underline">
|
||||
<div class="flex flex-col justify-start">
|
||||
<div>
|
||||
{{ $status }}
|
||||
</div>
|
||||
<div>
|
||||
{{ $created_at }}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div
|
||||
class="flex flex-col-reverse w-full overflow-y-auto border border-solid rounded border-coolgray-300 max-h-[32rem] p-4 mt-4 text-xs text-white">
|
||||
<pre class="font-mono whitespace-pre-wrap" @if ($isKeepAliveOn) wire:poll.1000ms="polling" @endif>{{ \App\Actions\CoolifyTask\RunRemoteProcess::decodeOutput($activity) }}</pre>
|
||||
<pre class="font-mono whitespace-pre-wrap" @if ($isKeepAliveOn) wire:poll.2000ms="polling" @endif>{{ \App\Actions\CoolifyTask\RunRemoteProcess::decodeOutput($activity) }}</pre>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user