coolify/resources/views/livewire/activity-monitor.blade.php

20 lines
758 B
PHP
Raw Normal View History

2023-05-04 09:11:11 +02:00
<div>
2023-05-14 14:43:49 +02:00
@if ($this->activity)
2023-06-02 15:15:12 +02:00
@if ($header)
2023-06-05 12:07:55 +02:00
<div class="flex gap-2">
<h2>Logs</h2>
@if ($isPollingActive)
<x-loading />
@endif
</div>
2023-06-02 15:15:12 +02:00
@endif
2023-05-14 14:43:49 +02:00
<div
2023-05-26 15:19:01 +02:00
class="scrollbar flex flex-col-reverse w-full overflow-y-auto border border-solid rounded border-coolgray-300 max-h-[32rem] p-4 text-xs text-white">
2023-06-05 12:07:55 +02:00
2023-05-23 09:53:24 +02:00
<pre class="font-mono whitespace-pre-wrap" @if ($isPollingActive) wire:poll.2000ms="polling" @endif>{{ \App\Actions\CoolifyTask\RunRemoteProcess::decodeOutput($this->activity) }}</pre>
2023-05-14 14:43:49 +02:00
{{-- @else
<pre class="whitespace-pre-wrap">Output will be here...</pre> --}}
</div>
@endif
2023-05-03 07:23:45 +02:00
</div>