2023-03-20 12:04:22 +00:00
|
|
|
<div>
|
|
|
|
<div>
|
2023-03-21 09:48:38 +01:00
|
|
|
<label for="command">
|
2023-05-03 14:09:10 +02:00
|
|
|
<input autofocus id="command" wire:model.defer="command" type="text" wire:keydown.enter="runCommand" />
|
2023-03-24 22:15:36 +01:00
|
|
|
<select wire:model.defer="server">
|
|
|
|
@foreach ($servers as $server)
|
2023-03-29 12:27:02 +02:00
|
|
|
<option value="{{ $server->uuid }}">{{ $server->name }}</option>
|
2023-03-24 22:15:36 +01:00
|
|
|
@endforeach
|
|
|
|
</select>
|
2023-03-21 09:48:38 +01:00
|
|
|
</label>
|
2023-05-03 14:09:10 +02:00
|
|
|
<x-inputs.button wire:click="runCommand">Run command</x-inputs.button>
|
|
|
|
<x-inputs.button wire:click="runSleepingBeauty">Run sleeping beauty</x-inputs.button>
|
|
|
|
<x-inputs.button wire:click="runDummyProjectBuild">Build DummyProject</x-inputs.button>
|
2023-03-20 12:04:22 +00:00
|
|
|
</div>
|
|
|
|
|
2023-03-21 09:48:38 +01: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 09:48:38 +01:00
|
|
|
@isset($activity?->id)
|
2023-05-03 14:09:10 +02:00
|
|
|
<pre style="width: 100%;overflow-y: scroll;" @if ($isKeepAliveOn) wire:poll.750ms="polling" @endif>{{ \App\Actions\CoolifyTask\RunRemoteProcess::decodeOutput($activity) }}</pre>
|
2023-03-21 09:48:38 +01:00
|
|
|
@endisset
|
2023-03-20 12:04:22 +00:00
|
|
|
</div>
|