🚀 Integrate Flux modals and toasts into Blade templates, refactor delete confirmation logic, and replace deprecated WireUI notifications for improved UX.

This commit is contained in:
HolgerHatGarKeineNode
2026-01-18 20:47:12 +01:00
parent b090336c4f
commit 18f8dd99e3
6 changed files with 127 additions and 128 deletions

View File

@@ -89,14 +89,15 @@
($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id)
|| ($currentPleb && in_array($currentPleb->npub, config('einundzwanzig.config.current_board'), true))
)
<flux:button
icon="trash"
xs
negative
wire:click="confirmDelete({{ $project->id }})"
wire:loading.attr="disabled">
Löschen
</flux:button>
<flux:modal.trigger name="delete-project">
<flux:button
icon="trash"
xs
negative
wire:loading.attr="disabled">
Löschen
</flux:button>
</flux:modal.trigger>
<flux:button
icon="pencil"
xs