This commit is contained in:
salam committed 2025-12-11 17:29:26 +01:00
1 parent 21faf46f76
commit cb5898f164
2 files changed
+4 -4

No files matched your search

@@ -22,6 +22,7 @@ class EventsTable
->columns([ ->columns([
IconColumn::make('sport.icon') IconColumn::make('sport.icon')
->label('') ->label('')
->width('1rem')
->size(IconSize::ExtraLarge) ->size(IconSize::ExtraLarge)
->icon(fn ($record) => $record->sport->icon) ->icon(fn ($record) => $record->sport->icon)
->tooltip(fn ($record) => $record->txodds_id), ->tooltip(fn ($record) => $record->txodds_id),
@@ -40,7 +41,6 @@ class EventsTable
TextColumn::make('home.name')->alignRight()->searchable(), TextColumn::make('home.name')->alignRight()->searchable(),
TextColumn::make('away.name')->searchable(), TextColumn::make('away.name')->searchable(),
Odds3Way::make('3way')->label('1 X 2')->alignCenter(), Odds3Way::make('3way')->label('1 X 2')->alignCenter(),
IconColumn::make('id'),
]) ])
->filters([ ->filters([
// //
@@ -2,13 +2,13 @@
<x-filament::button icon="icon-soccerball"> <x-filament::button icon="icon-soccerball">
Soccer Soccer
</x-filament::button> </x-filament::button>
<x-filament::button icon="icon-basketball" outlined> <x-filament::button icon="icon-basketball" color="gray">
Basketball Basketball
</x-filament::button> </x-filament::button>
<x-filament::button icon="icon-icehockey" outlined> <x-filament::button icon="icon-icehockey" color="gray">
Ice Hockey Ice Hockey
</x-filament::button> </x-filament::button>
<x-filament::button icon="icon-tennisball" outlined> <x-filament::button icon="icon-tennisball" color="gray">
Tennis Tennis
</x-filament::button> </x-filament::button>
</div> </div>