2023-03-20 12:04:22 +00:00
|
|
|
<div>
|
|
|
|
<div>
|
2023-03-21 08:48:38 +00:00
|
|
|
<label for="command">
|
|
|
|
<input class="py-2 rounded ring-1" id="command" wire:model="command" type="text" />
|
|
|
|
</label>
|
|
|
|
<button wire:click="runCommand">Run command</button>
|
2023-03-20 14:29:03 +00:00
|
|
|
|
2023-03-21 08:48:38 +00:00
|
|
|
<button wire:click="runSleepingBeauty">Run sleeping beauty</button>
|
|
|
|
<button wire:click="runDummyProjectBuild">Build DummyProject</button>
|
2023-03-20 12:04:22 +00:00
|
|
|
</div>
|
|
|
|
|
2023-03-21 08:48:38 +00:00
|
|
|
<div>
|
|
|
|
<input id="manualKeepAlive" name="manualKeepAlive" type="checkbox" wire:model="manualKeepAlive">
|
|
|
|
<label for="manualKeepAlive">Real-time logs</label>
|
|
|
|
@if ($isKeepAliveOn || $manualKeepAlive)
|
2023-03-20 14:04:35 +00:00
|
|
|
Polling...
|
|
|
|
@endif
|
2023-03-20 12:04:22 +00:00
|
|
|
</div>
|
2023-03-21 08:48:38 +00:00
|
|
|
@isset($activity?->id)
|
|
|
|
<div>
|
|
|
|
Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
|
|
|
|
</div>
|
|
|
|
<pre style="width: 100%;overflow-y: scroll;"
|
2023-03-21 09:10:58 +00:00
|
|
|
@if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
|
2023-03-21 08:48:38 +00:00
|
|
|
<div>
|
|
|
|
<div>Details:</div>
|
|
|
|
<pre style="width: 100%;overflow-y: scroll;">{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
|
|
|
|
</div>
|
|
|
|
@endisset
|
2023-03-20 12:04:22 +00:00
|
|
|
</div>
|