Skip to content

Commit 71e4b0f

Browse files
committed
Refactor server form blade template
1 parent bc46b03 commit 71e4b0f

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

resources/views/livewire/server/form.blade.php

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -133,16 +133,7 @@ class="px-4 py-2 text-gray-800 cursor-pointer hover:bg-gray-100 dark:hover:bg-co
133133
</div>
134134
@elseif (!$server->isFunctional())
135135
<div class="p-4 mb-4 w-full text-sm text-yellow-800 bg-yellow-100 rounded dark:bg-yellow-900 dark:text-yellow-300">
136-
<x-slide-over closeWithX fullScreen>
137-
<x-slot:title>Validate & configure</x-slot:title>
138-
<x-slot:content>
139-
<livewire:server.validate-and-install :server="$server" />
140-
</x-slot:content>
141-
To <span class="font-semibold">automatically</span> configure Cloudflare Tunnels, please click
142-
<span @click="slideOverOpen=true"
143-
wire:click.prevent='validateServer' class="underline cursor-pointer">
144-
here.</span> You will need a Cloudflare token and domain.
145-
</x-slide-over>
136+
To <span class="font-semibold">automatically</span> configure Cloudflare Tunnels, please validate your server first.</span> Then you will need a Cloudflare token and an SSH domain configured.
146137
<br/>
147138
To <span class="font-semibold">manually</span> configure Cloudflare Tunnels, please click <span wire:click="manualCloudflareConfig" class="underline cursor-pointer">here</span>, then you should validate the server.
148139
<br/><br/>
@@ -259,12 +250,12 @@ class="px-4 py-2 text-gray-800 cursor-pointer hover:bg-gray-100 dark:hover:bg-co
259250
<li>Networks not attached to running containers will be permanently deleted (stopped containers are affected).</li>
260251
<li>Custom networks for stopped containers will be permanently deleted.</li>
261252
<li>Functionality may be lost and containers may not be able to communicate with each other.</li>
262-
</ul>"
253+
</ul>"
263254
/>
264255
</div>
265256
</div>
266257
</div>
267-
258+
268259
<div class="flex flex-wrap gap-4 sm:flex-nowrap">
269260
<x-forms.input id="server.settings.concurrent_builds" label="Number of concurrent builds" required
270261
helper="You can specify the number of simultaneous build processes/deployments that should run concurrently." />

0 commit comments

Comments
 (0)