Feat: confirm server settings
This commit is contained in:
@@ -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())
|
||||
|
Reference in New Issue
Block a user