test polling state
This commit is contained in:
@@ -8,9 +8,8 @@
|
|||||||
<button wire:click='forceRebuild'>Start (no cache)</button>
|
<button wire:click='forceRebuild'>Start (no cache)</button>
|
||||||
@endif
|
@endif
|
||||||
<button wire:click='kill'>Kill</button>
|
<button wire:click='kill'>Kill</button>
|
||||||
<span wire:poll='pollingStatus'>
|
<span wire:poll.5000ms='pollingStatus'>
|
||||||
@if ($application->status === 'running')
|
@if ($application->status === 'running')
|
||||||
<span class="text-green-500">{{ $application->status }}</span>
|
|
||||||
@if (!data_get($application, 'settings.is_bot') && data_get($application, 'fqdn'))
|
@if (!data_get($application, 'settings.is_bot') && data_get($application, 'fqdn'))
|
||||||
<a target="_blank" href="{{ data_get($application, 'fqdn') }}">Open URL</a>
|
<a target="_blank" href="{{ data_get($application, 'fqdn') }}">Open URL</a>
|
||||||
@endif
|
@endif
|
||||||
@@ -27,8 +26,12 @@
|
|||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
<span class="text-xs text-pink-600" wire:loading.delay.longer>Loading current status...</span>
|
||||||
|
<span class="text-green-500" wire:loading.remove.delay.longer>{{ $application->status }}</span>
|
||||||
@else
|
@else
|
||||||
<span class="text-red-500">{{ $application->status }}</span>
|
<span class="text-xs text-pink-600" wire:loading.delay.longer>Loading current status...</span>
|
||||||
|
<span class="text-red-500" wire:loading.remove.delay.longer>{{ $application->status }}</span>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user