wip
This commit is contained in:
1 parent
0b3315615c
commit
a4d064056a
1 file changed
+10
-3
@@ -34,7 +34,6 @@ class ElementsTable
|
|||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
->columns([
|
->columns([
|
||||||
TextColumn::make('id'),
|
|
||||||
IconColumn::make('sport.icon')
|
IconColumn::make('sport.icon')
|
||||||
->label('')
|
->label('')
|
||||||
->grow(false)
|
->grow(false)
|
||||||
@@ -43,14 +42,22 @@ class ElementsTable
|
|||||||
->icon(fn ($record) => $record->sport->icon)
|
->icon(fn ($record) => $record->sport->icon)
|
||||||
->tooltip(fn ($record) => $record->id)
|
->tooltip(fn ($record) => $record->id)
|
||||||
->visibleFrom('lg'),
|
->visibleFrom('lg'),
|
||||||
|
TextColumn::make('id')
|
||||||
|
->tooltip('click to copy')
|
||||||
|
->alignCenter()
|
||||||
|
->copyable(),
|
||||||
TextColumn::make('country.name')
|
TextColumn::make('country.name')
|
||||||
->wrap()
|
->wrap()
|
||||||
->color('gray')
|
->color('gray')
|
||||||
->icon(fn ($record) => $record->country->icon),
|
->icon(fn ($record) => $record->country->icon),
|
||||||
TextColumn::make('element_group.competition_group.name')->label('Competition Group'),
|
TextColumn::make('element_group.competition_group_id')->label('Group Id')
|
||||||
|
->alignCenter()
|
||||||
|
->tooltip('click to copy')
|
||||||
|
->copyable(),
|
||||||
|
TextColumn::make('element_group.competition_group.name')->label('Group'),
|
||||||
// TextColumn::make('element_group.group.name')->label('Group'),
|
// TextColumn::make('element_group.group.name')->label('Group'),
|
||||||
ImageColumn::make('betsapi_image_id')
|
ImageColumn::make('betsapi_image_id')
|
||||||
->label('')
|
->label('Logo')
|
||||||
->defaultImageUrl(fn ($state) => url('https://assets.b365api.com/images/team/m/'.$state.'.png')),
|
->defaultImageUrl(fn ($state) => url('https://assets.b365api.com/images/team/m/'.$state.'.png')),
|
||||||
TextColumn::make('name')->searchable(),
|
TextColumn::make('name')->searchable(),
|
||||||
])->filters([
|
])->filters([
|
||||||
|
|||||||
Reference in new issue
Block a user