Integrate Flux modals for member acceptance and rejection actions, refactor related Livewire methods, and improve Blade table structure for consistency and UX.

This commit is contained in:
HolgerHatGarKeineNode
2026-01-18 23:28:27 +01:00
parent 6edcf014a6
commit bf31b9f001
3 changed files with 102 additions and 91 deletions

View File

@@ -86,4 +86,40 @@ new class extends Component {
</flux:callout>
</div>
@endif
<flux:modal name="confirm-accept-pleb" class="min-w-88">
<div class="space-y-6">
<div>
<flux:heading size="lg">Mitglied akzeptieren</flux:heading>
<flux:subheading class="mt-2">
Bist du sicher, dass du dieses Mitglied akzeptieren möchtest?
</flux:subheading>
</div>
<div class="flex gap-2">
<flux:spacer/>
<flux:modal.close>
<flux:button variant="ghost">Abbrechen</flux:button>
</flux:modal.close>
<flux:button wire:click="acceptPleb" variant="primary">Ja, akzeptieren</flux:button>
</div>
</div>
</flux:modal>
<flux:modal name="confirm-delete-pleb" class="min-w-88">
<div class="space-y-6">
<div>
<flux:heading size="lg">Bewerbung ablehnen</flux:heading>
<flux:subheading class="mt-2">
Bist du sicher, dass du diese Bewerbung ablehnen möchtest?
</flux:subheading>
</div>
<div class="flex gap-2">
<flux:spacer/>
<flux:modal.close>
<flux:button variant="ghost">Abbrechen</flux:button>
</flux:modal.close>
<flux:button wire:click="deletePleb" variant="danger">Ja, ablehnen</flux:button>
</div>
</div>
</flux:modal>
</div>