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.

refactor(cloudflare-tunnel): enhance layout and structure of Cloudflare Tunnel documentation and confirmation modal

Andras Bacsaidcb793f9f4dd
diff --git a/resources/views/livewire/server/cloudflare-tunnel.blade.php b/resources/views/livewire/server/cloudflare-tunnel.blade.php
index b4c70ac2a0..795193576e 100644
--- a/resources/views/livewire/server/cloudflare-tunnel.blade.php
+++ b/resources/views/livewire/server/cloudflare-tunnel.blade.php
@@ -78,10 +78,11 @@
</div>
@endif
@if (!$isCloudflareTunnelsEnabled && $server->isFunctional())
- <h3>Automated <a href="https://coolify.io/docs/knowledge-base/cloudflare/tunnels/server-ssh"
- target="_blank"
- class="text-xs underline hover:text-yellow-600 dark:hover:text-yellow-200">Docs</a></h3>
-
+ <div class="flex flex-col pb-2">
+ <h3>Automated </h3>
+ <a href="https://coolify.io/docs/knowledge-base/cloudflare/tunnels/server-ssh" target="_blank"
+ class="text-xs underline hover:text-yellow-600 dark:hover:text-yellow-200">Docs<x-external-link /></a>
+ </div>
<div class="flex gap-2">
<x-slide-over @automated.window="slideOverOpen = true" fullScreen>
<x-slot:title>Cloudflare Tunnel Configuration</x-slot:title>
@@ -107,14 +108,16 @@
@endscript
</div>
<h3 class="pt-6 pb-2">Manual</h3>
- <x-modal-confirmation buttonFullWidth title="I manually configured Cloudflare Tunnel?"
- buttonTitle="I manually configured Cloudflare Tunnel" submitAction="manualCloudflareConfig"
- :actions="[
- 'You set everything up manually, including in Cloudflare and on the server (cloudflared is running).',
- 'If you missed something, the connection will not work.',
- ]" confirmationText="I manually configured Cloudflare Tunnel"
- confirmationLabel="Please type the confirmation text to confirm that you manually configured Cloudflare Tunnel."
- shortConfirmationLabel="Confirmation text" step3ButtonText="Confirm" />
+ <div class="pl-2">
+ <x-modal-confirmation buttonFullWidth title="I manually configured Cloudflare Tunnel?"
+ buttonTitle="I manually configured Cloudflare Tunnel" submitAction="manualCloudflareConfig"
+ :actions="[
+ 'You set everything up manually, including in Cloudflare and on the server (cloudflared is running).',
+ 'If you missed something, the connection will not work.',
+ ]" confirmationText="I manually configured Cloudflare Tunnel"
+ confirmationLabel="Please type the confirmation text to confirm that you manually configured Cloudflare Tunnel."
+ shortConfirmationLabel="Confirmation text" step3ButtonText="Confirm" />
+ </div>
@endif
</div>
</div>