fucking around with tooltip update
This commit is contained in:
1 parent
a6fc328669
commit
b0482cacf6
33 files changed
+302
-254
No files matched your search
@@ -7,75 +7,7 @@
|
||||
|
||||
@if ($hasData())
|
||||
|
||||
<div class="mx-3 my-auto">
|
||||
<template x-ref="template_1x2_{{ $record->id }}">
|
||||
|
||||
@if ($hasData() > 9)
|
||||
<div class="grid grid-cols-13 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1', 'X', '2'],
|
||||
'twice' => true,
|
||||
])
|
||||
@else
|
||||
<div class="grid grid-cols-6 gap-2 m-5 z-10 text-xs text-center">
|
||||
@include('filament.tables.columns.fumetto-multiline.label', [
|
||||
'labels' => ['1', 'X', '2'],
|
||||
'twice' => false,
|
||||
])
|
||||
@endif
|
||||
|
||||
@foreach ($record->odds_3ways as $i => $item)
|
||||
@include('filament.tables.columns.fumetto-multiline.bkm', [
|
||||
'bookmaker_id' => $item->bookmaker_id,
|
||||
'icon' => $item->bookmaker->icon ?? '',
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->h3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->h3w >= $max['h3w'] ? 1 : 0,
|
||||
'min' => $item->h3w <= $min['h3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->d3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->d3w >= $max['d3w'] ? 1 : 0,
|
||||
'min' => $item->d3w <= $min['d3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->a3w,
|
||||
'dec' => 2,
|
||||
'max' => $item->a3w >= $max['a3w'] ? 1 : 0,
|
||||
'min' => $item->a3w <= $min['a3w'] ? 1 : 0,
|
||||
])
|
||||
|
||||
@include('filament.tables.columns.fumetto-multiline.odds', [
|
||||
'odd' => $item->margin,
|
||||
'dec' => 1,
|
||||
'max' => false,
|
||||
'min' => false,
|
||||
])
|
||||
@include('filament.tables.columns.fumetto-multiline.lastcheck', [
|
||||
'lastcheck' => $item->updated_at,
|
||||
])
|
||||
@if ($i % 2 == 0 && $hasData() > 9)
|
||||
<div></div>
|
||||
@endif
|
||||
@endforeach
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<x-filament::icon-button icon="phosphor-chat-centered-text" color="gray"
|
||||
x-tooltip.html="{
|
||||
content: () => $refs.template_1x2_{{ $record->id }}.innerHTML,
|
||||
allowHTML: true,
|
||||
theme: $store.theme,
|
||||
appendTo: $root,
|
||||
interactive: true,
|
||||
}" />
|
||||
</div>
|
||||
@include('filament.tables.columns.fumetto.fumetto_1x2')
|
||||
|
||||
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1" style="width: 225px;">
|
||||
|
||||
|
||||
Reference in new issue
Block a user