Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

wip

Andras Bacsai0072343e0f10
diff --git a/resources/views/livewire/server/proxy.blade.php b/resources/views/livewire/server/proxy.blade.php
index 399e9c151a..577243d2ee 100644
--- a/resources/views/livewire/server/proxy.blade.php
+++ b/resources/views/livewire/server/proxy.blade.php
@@ -1,5 +1,6 @@
-<div>
-
+<div x-data="{ stopProxy: false }">
+ <x-naked-modal show="stopProxy" action="stopProxy"
+ message='Are you sure you would like to stop the proxy? All resources will be unavailable.' />
@if ($server->settings->is_validated)
<div class="flex items-center gap-2">
<h3>Proxy</h3>
@@ -18,7 +19,8 @@
Start
</x-inputs.button>
@else
- <x-inputs.button isWarning wire:click="stopProxy">Stop</x-inputs.button>
+ <x-inputs.button isWarning x-on:click.prevent="stopProxy = true">Stop
+ </x-inputs.button>
@endif
<span x-data="{ showConfiguration: false }">
<x-inputs.button isBold x-on:click.prevent="showConfiguration = !showConfiguration">Show
diff --git a/resources/views/server/show.blade.php b/resources/views/server/show.blade.php
index c4708f9bc6..1e546c3fd2 100644
--- a/resources/views/server/show.blade.php
+++ b/resources/views/server/show.blade.php
@@ -26,7 +26,9 @@
<x-inputs.button>Change</x-inputs.button>
</a>
</div>
- <p>{{ $server->privateKey->name }}</p>
+ <a href="{{ route('private-key.show', ['private_key_uuid' => data_get($server, 'privateKey.uuid')]) }}">
+ <x-inputs.button>{{ data_get($server, 'privateKey.uuid') }}</x-inputs.button>
+ </a>
</div>
<div x-cloak x-show="activeTab === 'destinations'">
<div class="flex items-center gap-2">
@@ -37,7 +39,9 @@
</div>
@if ($server->standaloneDockers->count() > 0)
@foreach ($server->standaloneDockers as $docker)
- <p>Network: {{ data_get($docker, 'network') }}</p>
+ <a href="{{ route('destination.show', ['destination_uuid' => data_get($docker, 'uuid')]) }}">
+ <x-inputs.button>{{ data_get($docker, 'network') }}</x-inputs.button>
+ </a>
@endforeach
@else
<p>No destinations found</p>