destination and dashboard confirmation
This commit is contained in:
@@ -122,9 +122,24 @@
|
||||
@if (count($deployments_per_server) > 0)
|
||||
<x-loading />
|
||||
@endif
|
||||
<x-modal-confirmation isErrorButton action="cleanup_queue" buttonTitle="Cleanup Queues">
|
||||
This will clean up the deployment queue. <br>Please think again.
|
||||
</x-modal-confirmation>
|
||||
<x-modal-confirmation
|
||||
title="Confirm Queues Cleanup"
|
||||
buttonTitle="Cleanup Queues"
|
||||
isErrorButton
|
||||
submitAction="cleanup_queue"
|
||||
:actions="['Cleanup all running Deployment Queues']"
|
||||
buttonTitle="Cleanup Queues"
|
||||
:confirmWithText="false"
|
||||
:confirmWithPassword="false"
|
||||
step3ButtonText="Cleanup Deployment Queues"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
@if (session('success'))
|
||||
<div class="alert alert-success">
|
||||
{{ session('success') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div wire:poll.3000ms="get_deployments" class="grid grid-cols-1">
|
||||
@forelse ($deployments_per_server as $server_name => $deployments)
|
||||
@@ -168,4 +183,6 @@
|
||||
}
|
||||
</script>
|
||||
{{-- <x-forms.button wire:click='getIptables'>Get IPTABLES</x-forms.button> --}}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
@@ -6,9 +6,19 @@
|
||||
Save
|
||||
</x-forms.button>
|
||||
@if ($destination->network !== 'coolify')
|
||||
<x-modal-confirmation isErrorButton buttonTitle="Delete Destination">
|
||||
This destination will be deleted. It is not reversible. <br>Please think again.
|
||||
</x-modal-confirmation>
|
||||
<x-modal-confirmation
|
||||
title="Confirm Destination Deletion?"
|
||||
buttonTitle="Delete Destination"
|
||||
isErrorButton
|
||||
submitAction="delete"
|
||||
:actions="['This will delete the selected destination/network.']"
|
||||
confirmationText="{{ $destination->name }}"
|
||||
confirmationLabel="Please confirm the execution of the actions by entering the Destination Name below"
|
||||
shortConfirmationLabel="Destination Name"
|
||||
buttonTitle="Delete Destination"
|
||||
step3ButtonText="Permanently Delete Destination"
|
||||
:confirmWithPassword="true"
|
||||
/>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user