Feat: confirm server settings
This commit is contained in:
parent
371fe53911
commit
505127dae5
1 changed files with 9 additions and 5 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue