diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 4c6d45df..ed0c69bd 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -177,8 +177,9 @@ function createCharts() { }); }); - @else - @include('partials.steps-to-get-started.view') + + @include('partials.steps-to-get-started.view') + @endif diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index e7256d31..20d99afe 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -77,14 +77,18 @@ @endif
-
-
- @if (isset($action)) - {{ $action }} - @endif + @if (isset($outsideContainer)) + {{ $outsideContainer }} + @else +
+
+ @if (isset($action)) + {{ $action }} + @endif +
+ {{ $slot }}
- {{ $slot }} -
+ @endif
diff --git a/resources/views/partials/missing-keys-and-passphrase.blade.php b/resources/views/partials/missing-keys-and-passphrase.blade.php index fdfb2127..1f7b84c6 100644 --- a/resources/views/partials/missing-keys-and-passphrase.blade.php +++ b/resources/views/partials/missing-keys-and-passphrase.blade.php @@ -42,13 +42,18 @@ class="flex-grow sm:flex-grow-0 bg-white/10 hover:bg-white/20 backdrop-blur-sm p {{ __('Show Command') }} - -
-

- {{ __('SSH Key Generation Command') }} -

- -
+ + + {{ __('SSH Key Generation Command') }} + + + {{ __('Easy, straightforward instructions on how to generate your SSH keys.') }} + + + heroicon-o-command-line + +
+

{{ __('Run this command in your terminal to generate SSH keys:') }}

@@ -91,13 +96,18 @@ class="flex-grow sm:flex-grow-0 bg-white/10 hover:bg-white/20 backdrop-blur-sm p {{ __('How to Set Passphrase') }} - -
-

- {{ __('How to Set SSH Passphrase') }} -

- -
+ + + {{ __('How to Set SSH Passphrase') }} + + + {{ __('Easy, straightforward instructions on how to set your passphrase.') }} + + + heroicon-o-command-line + +
+

{{ __('To set the SSH passphrase:') }}

  1. {{ __('Open your .env file') }}
  2. 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 959c9c2f..abc26560 100644 --- a/resources/views/partials/steps-to-get-started/view.blade.php +++ b/resources/views/partials/steps-to-get-started/view.blade.php @@ -1,26 +1,38 @@
    -
    +

    {{ __('Steps to Get Started') }}

    -
    +

    {{ __('Follow these steps to set up your backup system quickly and easily.') }}

    + @if (!ssh_keys_exist()) +
    +
    + @svg('heroicon-o-exclamation-triangle', 'h-5 w-5 mr-2') + {{ __('SSH Keys Required') }} +
    +

    + {{ __('Please generate SSH keys before proceeding with the first step.') }} +

    +
    + @endif +
    @foreach ([ [ 'step' => 1, 'title' => __('Link your first Remote Server'), - 'description' => __('We support Ubuntu and Debian distributions primarily.'), + 'description' => __('Get started easily with popular Linux distributions like Ubuntu and Debian. We\'ve got you covered!'), 'icons' => ['ubuntu', 'debian', 'tux'], 'route' => 'remote-servers.create', 'buttonText' => __('Link Remote Server'), - 'condition' => Auth::user()->remoteServers->isEmpty() + 'condition' => Auth::user()->remoteServers->isEmpty() && ssh_keys_exist() ], [ 'step' => 2, 'title' => __('Connect a Backup Destination'), - 'description' => __('Add your S3 bucket API details to store your backups safely.'), + 'description' => __('Securely store your backups in the cloud. Easy setup with S3 buckets, and support for other popular storage solutions.'), 'icons' => ['aws', 'upcloud', 'gcp'], 'route' => 'backup-destinations.create', 'buttonText' => __('Add your Backup Destination'), @@ -36,22 +48,22 @@ 'condition' => Auth::user()->remoteServers->isNotEmpty() && Auth::user()->backupDestinations->isNotEmpty() ] ] as $index => $step) -
    +
    -
    +
    {{ $index + 1 }}
    -

    +

    {{ $step['title'] }}

    @if (isset($step['icons'])) -
    +
    @foreach ($step['icons'] as $icon) - + @endforeach
    @endif -

    +

    {{ $step['description'] }}

    @if (isset($step['additional_info'])) @@ -61,15 +73,15 @@ @endif
    @if (Auth::user()->{$step['step'] == 1 ? 'remoteServers' : 'backupDestinations'}->isNotEmpty()) -