wip
This commit is contained in:
1 parent
4480680c8d
commit
d08613c54c
9 files changed
+119
-139
No files matched your search
@@ -1,38 +1,48 @@
|
||||
@if ($record->event_bookmaker?->is_swopped)
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
<div class="flex flex-1 gap-1 flex-wrap items-center">
|
||||
@if ($record->home->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->home->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
<div>{{ $record->away?->name }}</div>
|
||||
<div>-</div>
|
||||
@if ($record->away->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->away->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
<div>{{ $record->home?->name }}</div>
|
||||
</div>
|
||||
{{-- <div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group?->name }}</div> --}}
|
||||
</div>
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="w-full">
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="flex gap-1 items-center">
|
||||
<div class="flex gap-3 items-center">
|
||||
@if ($record->event_bookmaker?->is_swopped)
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
<div class="flex flex-1 gap-1 flex-wrap items-center">
|
||||
@if ($record->home->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->home->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
{{ $record->home?->name }}
|
||||
</div>
|
||||
<div class="flex gap-1 items-center">
|
||||
<div>{{ $record->away?->name }}</div>
|
||||
<div>-</div>
|
||||
@if ($record->away->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->away->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
{{ $record->away?->name }}
|
||||
<div>{{ $record->home?->name }}</div>
|
||||
</div>
|
||||
{{-- <div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group?->name }}</div> --}}
|
||||
</div>
|
||||
{{-- <div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group?->name }}</div> --}}
|
||||
</div>
|
||||
@endif
|
||||
@else
|
||||
<div {{ $getExtraAttributeBag() }} class="w-full">
|
||||
<div class="flex flex-col gap-2">
|
||||
<div class="flex gap-1 items-center">
|
||||
@if ($record->home->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->home->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
{{ $record->home?->name }}
|
||||
</div>
|
||||
<div class="flex gap-1 items-center">
|
||||
@if ($record->away->betsapi_image_id)
|
||||
<img src="https://assets.b365api.com/images/team/m/{{ $record->away->betsapi_image_id }}.png"
|
||||
class="h-4">
|
||||
@endif
|
||||
{{ $record->away?->name }}
|
||||
</div>
|
||||
</div>
|
||||
{{-- <div class="text-gray-600 dark:!text-gray-400 text-xs">{{ $record->group?->name }}</div> --}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<x-filament::modal width="5xl">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::icon-button icon="phosphor-info" color="gray" size="sm" tooltip="Encounter History" />
|
||||
</x-slot>
|
||||
|
||||
@livewire('encounter-histroy', ['record' => $record])
|
||||
</x-filament::modal>
|
||||
</div>
|
||||
@@ -1,3 +0,0 @@
|
||||
<div>
|
||||
{{ $this->content }}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{ $this->eventInfolist }}
|
||||
</div>
|
||||
Reference in new issue
Block a user