Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Merge remote-tracking branch 'origin/v4' into ijpatricio-wip-2

Joao Patriciobe351232d3df
diff --cc resources/views/livewire/run-command.blade.php
index 027eb14f0c,aa7aeaddd5..d97150f73d
--- a/resources/views/livewire/run-command.blade.php
+++ b/resources/views/livewire/run-command.blade.php
@@@ -1,84 -1,29 +1,30 @@@
<div>
<div>
- <div>
- <label for="command">
- <input class="py-2 rounded ring-1" id="command" wire:model="command" type="text"/>
- </label>
- <button
- @disabled($activity)
- class="bg-indigo-500 rounded py-2 px-4 disabled:bg-gray-300"
- wire:click="runCommand"
- >
- Run command
- <button>
- </div>
-
- <div class="mt-2 flex gap-2">
- <button
- @disabled($activity)
- class="bg-indigo-500 rounded py-2 px-4 disabled:bg-gray-300"
- wire:click="runSleepingBeauty"
- >
- Run sleeping beauty
- <button>
- </div>
- <div class="mt-2 flex gap-2">
- <button
- @disabled($activity)
- class="bg-indigo-500 rounded py-2 px-4 disabled:bg-gray-300"
- wire:click="runDummyProjectBuild"
- >
- Build DummyProject
- <button>
- </div>
+ <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>
-
- @isset($activity?->id)
- <div>
- Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
- </div>
- @endisset
+ <button wire:click="runSleepingBeauty">Run sleeping beauty</button>
+ <button wire:click="runDummyProjectBuild">Build DummyProject</button>
</div>
+
- <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)
+ <div>
+ <input id="manualKeepAlive" name="manualKeepAlive" type="checkbox" wire:model="manualKeepAlive">
+ <label for="manualKeepAlive">Real-time logs</label>
+ @if ($isKeepAliveOn || $manualKeepAlive)
Polling...
@endif
-
</div>
-
- <pre
- style="
- background-color: #FFFFFF;
- width: 1200px;
- height: 300px;
- overflow-y: scroll;
- display: flex;
- flex-direction: column-reverse;
- "
- placeholder="Build output"
- >{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
+ @isset($activity?->id)
+ <div>
+ Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
+ </div>
+ <pre style="width: 100%;overflow-y: scroll;"
- @if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif> {{ data_get($activity, 'description') }}</pre>
++ @if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif>{{ data_get($activity, 'description') }}</pre>
+ <div>
+ <div>Details:</div>
+ <pre style="width: 100%;overflow-y: scroll;">{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
+ </div>
+ @endisset
</div>