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">
<h2>General</h2>
@if ($server->id === 0)
<x-modal-confirmation buttonTitle="Save" title="Change Localhost" action="submit">
You could lose a lot of functionalities if you change the server details of the server where Coolify
is
running on.<br>Please think again.
</x-modal-confirmation>
<x-modal-confirmation
title="Confirm Server Settings Change?"
buttonTitle="Save"
submitAction="submit"
: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
<x-forms.button type="submit">Save</x-forms.button>
@if ($server->isFunctional())