Refactor server form blade template
This commit is contained in:
parent
bc46b0371d
commit
71e4b0f9d6
1 changed files with 3 additions and 12 deletions
|
|
@ -133,16 +133,7 @@ class="px-4 py-2 text-gray-800 cursor-pointer hover:bg-gray-100 dark:hover:bg-co
|
||||||
</div>
|
</div>
|
||||||
@elseif (!$server->isFunctional())
|
@elseif (!$server->isFunctional())
|
||||||
<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">
|
<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">
|
||||||
<x-slide-over closeWithX fullScreen>
|
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.
|
||||||
<x-slot:title>Validate & configure</x-slot:title>
|
|
||||||
<x-slot:content>
|
|
||||||
<livewire:server.validate-and-install :server="$server" />
|
|
||||||
</x-slot:content>
|
|
||||||
To <span class="font-semibold">automatically</span> configure Cloudflare Tunnels, please click
|
|
||||||
<span @click="slideOverOpen=true"
|
|
||||||
wire:click.prevent='validateServer' class="underline cursor-pointer">
|
|
||||||
here.</span> You will need a Cloudflare token and domain.
|
|
||||||
</x-slide-over>
|
|
||||||
<br/>
|
<br/>
|
||||||
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.
|
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.
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue