wip event mapper

This commit is contained in:
salam committed 2026-02-04 12:47:48 +01:00
1 parent 75b8c6c3ab
commit 3a289dd776
17 files changed
+273 -157

No files matched your search

@@ -1,6 +1,4 @@
<li class="w-full h-full overflow-hidden p-1 cursor-grab flex
space-x-4 drag-and-drop__item px-4"
x-data="{ moveoverright: false }" id={{ $record->event_id }}
<li class="cursor-grab drag-and-drop__item" x-data="{ moveoverright: false }" id={{ $record->event_id }}
x-on:dragstart.self="
dragging = true;
event.dataTransfer.effectAllowed = 'move';
@@ -15,35 +13,4 @@
draggable="true" mapper="right">
@include('filament.tables.columns.parts.move-botton')
@include('filament.tables.columns.parts.search-button-right', [
'find' => $record->home,
])
<div class="flex-1 flex flex-col justify-center space-y-0">
<div class="flex justify-around text-gray-600 dark:text-gray-500">
<div>{{ $record->starttime }}</div>
<div>{{ $record->event_id }}</div>
</div>
<div class="flex justify-center space-x-4">
<div class="text-right font-bold text-wrap">{{ $record->home }}</div>
<div class="w-6 text-center">-</div>
<div class="text-left font-bold text-wrap">{{ $record->away }}</div>
</div>
<div class="flex justify-center space-x-4 text-gray-600 dark:text-gray-500">
<div>{{ $record->country }}</div>
<div>{{ $record->country_betsapi?->name }}</div>
<div>{{ $record->group }}</div>
</div>
</div>
@include('filament.tables.columns.parts.search-button-right', [
'find' => $record->away,
])
<div class="w-6 flex-none mx-auto my-auto">
@if ($record->group_cc)
<x-icon name="flag-country-{{ $record->group_cc }}" class="h5 w-5" />
@endif
</div>
</li>