multiline wip
This commit is contained in:
1 parent
3fb481afd0
commit
79bb8a0226
16 files changed
+143
-222
No files matched your search
@@ -5,9 +5,9 @@ use App\Utilities\OddsFormatting;
|
||||
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 grid-rows-5 oddsbox">
|
||||
|
||||
{{ $loadMultiline($record->odds_3way) }}
|
||||
{{ $loadSlots($record->odds_3way) }}
|
||||
|
||||
@foreach ($getMultiline() as $row)
|
||||
@foreach ($getSlots() as $row)
|
||||
@if (isset($row->bookmaker))
|
||||
<div class="bg-contain bg-center bg-no-repeat dark:opacity-90" title="{{ $row->bookmaker->txid }}"
|
||||
style="background-image: url('{{ BkmIconMap::get($row->bookmaker?->icon) }}')">
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
<div class="flex">
|
||||
<div class="flex justify-start w-full">
|
||||
<x-filament::input.wrapper prefix-icon="{{ $sporticon }}" prefix-icon-color="{{ $iconcolor }}">
|
||||
<x-filament::input.select wire:model="sport_id" wire:change="swopSport">
|
||||
@foreach ($sports as $id => $name)
|
||||
<option value="{{ $id }}">{{ $name }}</option>
|
||||
@endforeach
|
||||
</x-filament::input.select>
|
||||
</x-filament::input.wrapper>
|
||||
|
||||
|
||||
@foreach ($multilines as $multiline)
|
||||
<div class="w-5"></div>
|
||||
@if ($multiline['is_active'] == 1)
|
||||
@@ -6,7 +15,7 @@
|
||||
{{ $multiline['name'] }}
|
||||
</x-filament::button>
|
||||
@else
|
||||
<x-filament::button outlined color="gray" wire:click="swop({{ $multiline['id'] }})">
|
||||
<x-filament::button outlined color="gray" wire:click="swopBettype({{ $multiline['id'] }})">
|
||||
{{ $multiline['name'] }}
|
||||
</x-filament::button>
|
||||
@endif
|
||||
|
||||
Reference in new issue
Block a user