mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-04 07:22:34 +00:00
Migrate to HTMX (#114)
Dropped Livewire Added HTMX Added Blade code lint Drop Mysql and Redis Migrate to SQLite
This commit is contained in:
12
resources/views/servers/partials/delete-server.blade.php
Normal file
12
resources/views/servers/partials/delete-server.blade.php
Normal file
@ -0,0 +1,12 @@
|
||||
<div x-data="">
|
||||
<x-danger-button x-on:click="$dispatch('open-modal', 'delete-server')">
|
||||
{{ __("Delete Server") }}
|
||||
</x-danger-button>
|
||||
<x-confirmation-modal
|
||||
name="delete-server"
|
||||
action="{{ route('servers.delete', $server) }}"
|
||||
:title="__('Confirm')"
|
||||
:description="__('Are you sure that you want to delete this server?')"
|
||||
method="delete"
|
||||
/>
|
||||
</div>
|
Reference in New Issue
Block a user