Feat: confirm server settings

This commit is contained in:
ayntk-ai
2024-09-04 20:11:04 +02:00
parent 371fe53911
commit 505127dae5

View File

@@ -3,11 +3,15 @@
<div class="flex gap-2"> <div class="flex gap-2">
<h2>General</h2> <h2>General</h2>
@if ($server->id === 0) @if ($server->id === 0)
<x-modal-confirmation buttonTitle="Save" title="Change Localhost" action="submit"> <x-modal-confirmation
You could lose a lot of functionalities if you change the server details of the server where Coolify title="Confirm Server Settings Change?"
is buttonTitle="Save"
running on.<br>Please think again. submitAction="submit"
</x-modal-confirmation> :actions="['You could lose a lot of functionalities if you change the server details of the server where Coolify is running on.']"
:confirmWithText="false"
:confirmWithPassword="false"
step2ButtonText="Save Server Settings"
/>
@else @else
<x-forms.button type="submit">Save</x-forms.button> <x-forms.button type="submit">Save</x-forms.button>
@if ($server->isFunctional()) @if ($server->isFunctional())