small fixes
This commit is contained in:
parent
6524fade3e
commit
3c4e5a080b
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "coolify",
|
"name": "html",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
@tailwind base;
|
/* @tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
@tailwind utilities;
|
@tailwind utilities; */
|
||||||
|
@ -1,85 +1,29 @@
|
|||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<label for="command">
|
||||||
<label for="command">
|
<input class="py-2 rounded ring-1" id="command" wire:model="command" type="text" />
|
||||||
<input class="py-2 rounded ring-1" id="command" wire:model="command" type="text"/>
|
</label>
|
||||||
</label>
|
<button wire:click="runCommand">Run command</button>
|
||||||
<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 wire:click="runSleepingBeauty">Run sleeping beauty</button>
|
||||||
<button
|
<button wire:click="runDummyProjectBuild">Build DummyProject</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>
|
|
||||||
|
|
||||||
|
|
||||||
@isset($activity?->id)
|
|
||||||
<div>
|
|
||||||
Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
|
|
||||||
</div>
|
|
||||||
@endisset
|
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
<div class="w-full h-10"></div>
|
<input id="manualKeepAlive" name="manualKeepAlive" type="checkbox" wire:model="manualKeepAlive">
|
||||||
|
<label for="manualKeepAlive">Real-time logs</label>
|
||||||
|
@if ($isKeepAliveOn || $manualKeepAlive)
|
||||||
<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...
|
Polling...
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@isset($activity?->id)
|
||||||
<pre
|
<div>
|
||||||
style="
|
Activity: <span>{{ $activity?->id ?? 'waiting' }}</span>
|
||||||
background-color: #FFFFFF;
|
</div>
|
||||||
width: 1200px;
|
<pre style="width: 100%;overflow-y: scroll;"
|
||||||
height: 300px;
|
@if ($isKeepAliveOn || $manualKeepAlive) wire:poll.750ms="polling" @endif> {{ data_get($activity, 'description') }}</pre>
|
||||||
overflow-y: scroll;
|
<div>
|
||||||
display: flex;
|
<div>Details:</div>
|
||||||
flex-direction: column-reverse;
|
<pre style="width: 100%;overflow-y: scroll;">{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
|
||||||
"
|
</div>
|
||||||
placeholder="Build output"
|
@endisset
|
||||||
>{{ json_encode(data_get($activity, 'properties'), JSON_PRETTY_PRINT) }}</pre>
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
<body class="antialiased">
|
<body class="antialiased">
|
||||||
<h1 class="text-3xl font-bold">
|
<h1 class="text-3xl font-bold">
|
||||||
Hello from Coolify!
|
Coolify v4
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p class="mt-4">
|
<p class="mt-4">
|
||||||
|
Loading…
Reference in New Issue
Block a user