coolify/resources/views/livewire/project/shared/danger.blade.php

32 lines
1.8 KiB
PHP
Raw Normal View History

<div>
<h2>Danger Zone</h2>
<div class="">Woah. I hope you know what are you doing.</div>
<h4 class="pt-4">Delete Resource</h4>
<div class="pb-4">This will stop your containers, delete all related data, etc. Beware! There is no coming
back!
2024-08-27 11:44:12 +00:00
</div>
<x-modal-confirmation
isError
type="button"
buttonTitle="Delete this resource"
:checkboxes="[
['id' => 'delete_volumes', 'model' => 'delete_volumes', 'label' => 'Permanently delete associated volumes?'],
['id' => 'delete_connected_networks', 'model' => 'delete_connected_networks', 'label' => 'Permanently delete connected networks, predefined networks are not deleted?'],
['id' => 'delete_configurations', 'model' => 'delete_configurations', 'label' => 'Permanently delete configuration files from the server?'],
['id' => 'docker_cleanup', 'model' => 'docker_cleanup', 'label' => 'Run Docker cleanup (remove builder cache and unused images)?']
]"
:checkboxActions="[
2024-08-28 11:11:42 +00:00
'delete_volumes' => 'All associated volumes of this resource will be deleted.',
'delete_connected_networks' => 'All connected networks of this resource will be deleted (predefined networks are not deleted).',
'delete_configurations' => 'All configuration files of this resource will be deleted on the server.',
'docker_cleanup' => 'Docker cleanup will be executed which removes builder cache and unused images.'
]"
2024-08-28 11:31:09 +00:00
:actions="[
'All containers of this resource will be stopped and permanently deleted.'
]"
{{-- :confirmWithPassword="false" --}}
>
This resource will be deleted. It is not reversible. <strong class="text-error">Please think again.</strong><br><br>
</x-modal-confirmation>
2024-08-27 10:43:59 +00:00
</div>