Have Sail and SSU. Runs a command on a remote host.

This commit is contained in:
Joao Patricio
2023-03-20 14:04:35 +00:00
parent a613e9f113
commit bfdae4339c
15 changed files with 234 additions and 77 deletions

View File

@@ -6,7 +6,7 @@
</label>
<button class="btn btn-success btn-xs rounded-none" wire:click="runCommand">
Run command
<button>
<button>
</div>
@isset($activity?->id)
@@ -18,6 +18,35 @@
<div class="w-full h-10"></div>
<div
@if($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif
>
<pre
style="
background-color: #FFFFFF;
width: 1200px;
height: 600px;
overflow-y: scroll;
display: flex;
flex-direction: column-reverse;
"
placeholder="Build output"
>
{{ data_get($activity, 'description') }}
</pre>
<div>
<input id="manualKeepAlive" name="manualKeepAlive" type="checkbox" wire:model="manualKeepAlive">
<label for="manualKeepAlive"> Live content </label>
</div>
@if($isKeepAliveOn || $manualKeepAlive)
Polling...
@endif
</div>
<pre
style="
background-color: #FFFFFF;
@@ -28,17 +57,5 @@
flex-direction: column-reverse;
"
placeholder="Build output"
@if($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif
>
{{ data_get($activity, 'description') }}
</pre>
<div>
<input id="manualKeepAlive" name="manualKeepAlive" type="checkbox" wire:model="manualKeepAlive">
<label for="manualKeepAlive"> Live content </label>
</div>
@if($isKeepAliveOn || $manualKeepAlive)
Polling...
@endif
>{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
</div>