diff --git a/resources/views/partials/steps-to-get-started/view.blade.php b/resources/views/partials/steps-to-get-started/view.blade.php index f9c53f61..c5219ec5 100644 --- a/resources/views/partials/steps-to-get-started/view.blade.php +++ b/resources/views/partials/steps-to-get-started/view.blade.php @@ -8,7 +8,7 @@
-
+

{{ __('Step 1)') }}

@@ -24,15 +24,25 @@ {{ __('We support Ubuntu and Debian distributions primarily.') }}
- - - {{ __('Link Remote Server') }} - @svg('heroicon-o-arrow-right', 'h-5 w-5 ml-2 inline') - - + @if (Auth::user()->remoteServers->isNotEmpty()) +
+ @svg('heroicon-o-check', 'h-5 w-5 text-green-600 mr-2 inline') + {{ __('You have completed this step.') }} +
+ @endif + + @if (Auth::user()->remoteServers->isEmpty()) + + + {{ __('Link Remote Server') }} + @svg('heroicon-o-arrow-right', 'h-5 w-5 ml-2 inline') + + + @endif
-
+

{{ __('Step 2)') }}

@@ -48,27 +58,33 @@ {{ __('Add your S3 bucket API details to store your backups safely.') }}
+ @if (Auth::user()->backupDestinations->isNotEmpty()) +
+ @svg('heroicon-o-check', 'h-5 w-5 text-green-600 mr-2 inline') + {{ __('You have completed this step.') }} +
+ @endif + @if (Auth::user()->remoteServers->isEmpty())
@svg('heroicon-o-exclamation-triangle', 'h-5 w-5 text-red-500 mr-2 inline') - {{ __('You need to link a Remote Server first.') }} + {{ __('You need to link a Remote Server first.') }}
+ @endif + + @if (Auth::user()->remoteServers->isEmpty()) {{ __('Add your Backup Destination') }} @svg('heroicon-o-arrow-right', 'h-5 w-5 ml-2 inline') - @else - - - {{ __('Add another Backup Destination') }} - @svg('heroicon-o-arrow-right', 'h-5 w-5 ml-2 inline') - @endif
-
+

{{ __('Step 3)') }}

@@ -88,17 +104,11 @@ class="mt-4 cursor-not-allowed bg-opacity-50 hover:bg-opacity-50 focus:bg-opacit {{ __('You need to link a Backup Destination first.') }}
- - {{ __('Create your first Backup Task') }} - @svg('heroicon-o-arrow-right', 'h-5 w-5 ml-2 inline') - @else
{{ __('Create your first Backup Task') }} - @svg('heroicon-o-arrow-right', 'h-5 w-5 ml-2') + @svg('heroicon-o-arrow-right', 'h-5 w-5 ml-2 inline') @endif