This commit is contained in:
salam committed 2025-12-28 08:26:49 +01:00
1 parent 75d30353fc
commit 80f50c9eec
11 files changed
+117 -114

No files matched your search

@@ -0,0 +1,22 @@
<div>
<div class="grid grid-cols-3 gap-4 text-center text-xl">
<div>{{ $event->home->name }}</div>
<div class="row-span-2 text-center py-auto">
<div x-data="{ open: false, toggle() { this.open = !this.open } }" x-init="open = true">
<x-filament::button color="gray" outlined @click="toggle()">
<div x-show="open">
<x-icon-paralell class="h-16 w-16 mx-auto" />
</div>
<div x-show="!open">
<x-icon-crossed class="h-16 w-16 mx-auto" />
</div>
</x-filament::button>
</div>
</div>
<div>{{ $mapper->home }}</div>
<div>{{ $event->away->name }}</div>
<div>{{ $mapper->away }}</div>
</div>
</div>
@@ -1,5 +0,0 @@
<div @mapchecker.window="console.log('match_id', $event.detail.match_id, 'event_id', $event.detail.event_id);">
{{ $this->table }}
</div>
{{-- @notify="alert($event.detail.message)" --}}
{{-- @wire.set --}}
@@ -30,13 +30,6 @@
</div>
</x-filament::modal>
{{-- START MAP CHECKER MODAL --}}
<x-filament::modal @mapchecker.window="isOpen = true">
@livewire('mapchecker', ['match_id' => $event . detail . match_id])
</x-filament::modal>
{{-- END MAP CHECKER MODAL --}}
<x-filament::dropdown class="mx-4">
<x-slot name="trigger">
<x-filament::button outlined icon="heroicon-o-adjustments-horizontal" color="gray">