diff --git a/resources/views/livewire/server/validate-and-install.blade.php b/resources/views/livewire/server/validate-and-install.blade.php index ed0008896..90fbc3218 100644 --- a/resources/views/livewire/server/validate-and-install.blade.php +++ b/resources/views/livewire/server/validate-and-install.blade.php @@ -1,4 +1,14 @@ -
+
{{-- Progress Steps --}}
Installation Progress
@@ -12,7 +22,7 @@ - @elseif($currentStep === $key) + @elseif($currentStep === $key && $currentStep !== '')
@@ -40,30 +50,33 @@
Operating System: @if($supported_os_type) - {{ $supported_os_type }} + {{ $os_display_name ?? ucfirst($supported_os_type) }} @endif
@endif @if($currentStep === 'docker' || $steps['docker']['completed']) -
- Docker Engine: - @if($docker_installed) - Installed - @elseif($currentStep === 'docker') - Checking installation... - @endif -
- @endif - - @if($currentStep === 'compose' || $steps['compose']['completed']) -
- Docker Compose: - @if($docker_compose_installed) - Installed - @elseif($currentStep === 'compose') - Checking installation... - @endif +
+
+ Docker Engine: + @if($docker_engine_installed) + Installed (v{{ $docker_engine_version }}) + @elseif($currentStep === 'docker') + Checking installation... + @else + Not installed + @endif +
+
+ Docker Compose: + @if($docker_compose_installed) + Installed (v{{ $docker_compose_version }}) + @elseif($currentStep === 'docker') + Checking installation... + @else + Not installed + @endif +
@endif @@ -90,6 +103,43 @@ @endif
+ {{-- Add loading states for each step --}} + @if($currentStep === 'connection') +
+ Validating connection... +
+ @endif + + @if($currentStep === 'os') +
+ Validating operating system... +
+ @endif + + @if($currentStep === 'docker') +
+ Checking Docker installation... +
+ @endif + + @if($currentStep === 'compose') +
+ Checking Docker Compose installation... +
+ @endif + + @if($currentStep === 'dependencies') +
+ Installing dependencies... +
+ @endif + + @if($currentStep === 'proxy') +
+ Starting proxy service... +
+ @endif + {{-- Error Display --}} @if($error)