This commit is contained in:
Andras Bacsai
2023-05-15 08:53:56 +02:00
parent 86afa200cd
commit 845a8e5076
8 changed files with 13 additions and 23 deletions

View File

@@ -0,0 +1,3 @@
<div>
Loading...
</div>

View File

@@ -0,0 +1,3 @@
<div>
Problems!
</div>

View File

@@ -1,12 +0,0 @@
<div class="absolute w-full h-full bg-sky-600 rounded-lg">
<div class="w-full mt-32 text-center animate-pulse">
Loading
</div>
<div class="mt-20 w-full flex justify-center">
<span class="relative flex h-28 w-28">
<span
class="animate-ping absolute inline-flex h-full w-full rounded-full bg-sky-400 opacity-75"></span>
<span class="relative inline-flex rounded-full h-28 w-28 bg-sky-500"></span>
</span>
</div>
</div>

View File

@@ -1,5 +0,0 @@
<div class="absolute w-full h-full bg-orange-700 rounded-lg">
<div class="w-full mt-32 text-center animate-pulse">
Problems!
</div>
</div>

View File

@@ -11,14 +11,15 @@
{{-- Proxy is being checked against DB information --}}
@if (!$this->is_check_proxy_complete)
@include('livewire.server._proxy.loading')
<x-proxy.loading />
@endif
@if ($this->is_check_proxy_complete && !$this->is_proxy_settings_in_sync)
@include('livewire.server._proxy.problems')
<x-proxy.problems />
@else
<x-proxy.options />
@endif
@include('livewire.server._proxy.options')
</div>
</div>