diff --git a/app/Http/Livewire/Server/New/ByIp.php b/app/Http/Livewire/Server/New/ByIp.php new file mode 100644 index 000000000..e69de29bb diff --git a/app/Livewire/Project/New/Select.php b/app/Livewire/Project/New/Select.php index 8178590a3..00a243624 100644 --- a/app/Livewire/Project/New/Select.php +++ b/app/Livewire/Project/New/Select.php @@ -90,8 +90,7 @@ public function loadServices(bool $force = false) $this->allServices = getServiceTemplates(); $this->services = $this->allServices->filter(function ($service, $key) { return str_contains(strtolower($key), strtolower($this->search)); - });; - $this->dispatch('success', 'Successfully loaded services.'); + }); } } catch (\Throwable $e) { return handleError($e, $this); diff --git a/resources/views/components/limit-reached.blade.php b/resources/views/components/limit-reached.blade.php index 4d44b4328..584fd2428 100644 --- a/resources/views/components/limit-reached.blade.php +++ b/resources/views/components/limit-reached.blade.php @@ -1,4 +1,4 @@ -
+
You have reached the limit of {{ $name }} you can create. Please upgrade your subscription to create more diff --git a/resources/views/components/modal-input.blade.php b/resources/views/components/modal-input.blade.php index a7dc5da4b..dce9ec611 100644 --- a/resources/views/components/modal-input.blade.php +++ b/resources/views/components/modal-input.blade.php @@ -6,7 +6,7 @@ 'action' => 'delete', 'content' => null, ]) -
+
@if ($content)
{{ $content }} diff --git a/resources/views/destination/all.blade.php b/resources/views/destination/all.blade.php index 19fe86b2a..3d3c34761 100644 --- a/resources/views/destination/all.blade.php +++ b/resources/views/destination/all.blade.php @@ -1,14 +1,9 @@

Destinations

- - New Destination - - - - - + + +
Endpoints to deploy your resources.
diff --git a/resources/views/livewire/dashboard.blade.php b/resources/views/livewire/dashboard.blade.php index 06737c53c..70912a37c 100644 --- a/resources/views/livewire/dashboard.blade.php +++ b/resources/views/livewire/dashboard.blade.php @@ -38,8 +38,7 @@ @else
-
No projects found.
-
@@ -111,78 +103,69 @@ class="p-2 font-bold on-box">+ @else @if ($private_keys->count() === 0)
-
No private keys found.
-
Before you can add your server, first add a private key -
- - New Private Key - - - -
here -
-
-
or +
No private keys found.
+
Before you can add your server, first + + a private key + or go to the onboarding page.
@else
- No servers found. Add your first server -
- - New Server - - - -
here -
-
-
or + No servers found. + + + your first server + or go to the onboarding page.
@endif @endif -
-

Deployments

- @if (count($deployments_per_server) > 0) - - @endif - Cleanup Queues -
-
- @forelse ($deployments_per_server as $server_name => $deployments) -

{{ $server_name }}

-
- @foreach ($deployments as $deployment) - data_get($deployment, 'status') === 'queued', - 'border-yellow-500' => data_get($deployment, 'status') === 'in_progress', - ])> - + @endif