lasthourcloud/resources/views/livewire/server/delete.blade.php

21 lines
953 B
PHP
Raw Normal View History

<div>
@if ($server->id !== 0)
<h2 class="pt-4">Danger Zone</h2>
2024-07-25 20:50:18 +00:00
<div class="">Wait a minute, We hope you know what are you doing.</div>
<h4 class="pt-4">Delete Server</h4>
2024-07-25 20:50:18 +00:00
<div class="pb-4">This will remove this server from Last Hour Cloud. Beware! There is no coming
back!
</div>
@if ($server->definedResources()->count() > 0)
<div class="pb-2 text-red-500">You need to delete all resources before deleting this server.</div>
2024-03-20 11:54:06 +00:00
<x-modal-confirmation disabled isErrorButton buttonTitle="Delete">
2024-01-31 15:14:12 +00:00
This server will be deleted. It is not reversible. <br>Please think again.
2024-03-20 11:54:06 +00:00
</x-modal-confirmation>
2023-11-06 17:04:18 +00:00
@else
2024-03-20 11:54:06 +00:00
<x-modal-confirmation isErrorButton buttonTitle="Delete">
2024-01-31 15:14:12 +00:00
This server will be deleted. It is not reversible. <br>Please think again.
2024-03-20 11:54:06 +00:00
</x-modal-confirmation>
2023-11-06 17:04:18 +00:00
@endif
@endif
</div>