design wip

This commit is contained in:
salam committed 2026-02-08 12:50:53 +01:00
1 parent 07b9dfac44
commit fbacfdde20
10 files changed
+154 -144

No files matched your search

@@ -1,4 +1,4 @@
<div
class="text-primary-600 dark:text-primary-500 border border-primary-300 dark:border-primary-500/30 bg-primary-50 dark:bg-primary-800/20 rounded">
class="text-primary-600 dark:text-primary-500 font-bold">
{{ $slot }}
</div>
@@ -12,15 +12,19 @@
@endphp
@if ($getColumns() == 2)
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 mb-1 text-xs text-center w-48 mr-3">
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-3 p-1">
@else
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 mb-1 text-xs text-center w-64 mr-3">
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1">
@endif
@include('filament.tables.columns.multiline.label', ['labels' => $label])
</div>
</div>
@include('filament.tables.columns.multiline.label', ['labels' => $label])
@if ($getColumns() == 2)
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-2 mb-1 bg-blue-50 dark:bg-gray-950 p-1">
@else
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-2 mb-1 bg-blue-50 dark:bg-gray-950 p-1">
@endif
@if(auth()->user()->partner_show)
@include('filament.tables.columns.multiline.multiline-client-partner')
@include('filament.tables.columns.multiline.multiline-partner')
@@ -29,6 +33,14 @@
@include('filament.tables.columns.multiline.multiline-compare')
@endif
</div>
</div>
@if ($getColumns() == 2)
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-4 gap-1 text-xs text-center w-60 mr-3 p-1 mb-5">
@else
<div {{ $getExtraAttributeBag() }} class="grid grid-cols-5 gap-1 text-xs text-center w-76 mr-3 p-1 mb-5">
@endif
@if (auth()->user()->is_multiline_direct)
@include('filament.tables.columns.multiline.multilines-all', [
@@ -44,4 +56,7 @@
])
@endif
</div>
</div>
@endif
@@ -231,11 +231,11 @@
'd' => 1,
])
@else
{{-- @include('filament.tables.columns.multiline.bkm', [
@include('filament.tables.columns.multiline.bkm', [
'bookmaker_id' => auth()->user()->bookmaker_id,
'icon' => auth()->user()->bookmaker->icon ?? '',
]) --}}
<div>&nbsp;</div>
])
{{-- <div>&nbsp;</div> --}}
<div></div>
<div></div>
<div></div>
@@ -28,4 +28,4 @@
{{ number_format($odd, $d) }}
</x-alarm-neutral>
@break
@endswitch
@endswitch
@@ -1,5 +1,26 @@
<div class="flex flex-row gap-2">
<x-filament::button size="xs" wire:poll.20s="setDifferences" :color="auth()->user()->bookmaker_partner_differences ? 'home' : 'gray'"
<div class="flex flex-row gap-10 justify-between">
<div class="flex flex-row gap-2">
<x-filament::button size="xs" tooltip="Clear all orange filter" wire:click="clearAllFilter" color="gray"
icon="phosphor-x" />
</div>
<div class="flex flex-row gap-2">
<x-filament::button size="xs" tooltip="Today" wire:click="setToday" color="gray"
icon="phosphor-calendar-dot-duotone" />
<x-filament::button size="xs" tooltip="Tomorrow" wire:click="setTomorrow" color="gray"
icon="phosphor-calendar-check-duotone" />
<x-filament::button size="xs" tooltip="One Week" wire:click="setOneWeek" color="gray"
icon="phosphor-calendar-plus-duotone" />
</div>
<div></div>
<div></div>
<div></div>
@role('partner_porgramm')
<div class="flex flex-row gap-2">
<x-filament::button size="xs" wire:poll.20s="setDifferences" :color="auth()->user()->bookmaker_partner_differences ? 'info' : 'gray'"
wire:click="toggleBookmakerPartnerDiffrences"
tooltip="{{ auth()->user()->bookmaker->name .
' ' .
@@ -18,76 +39,55 @@
{{ $this->bookmakerPartnerDiffrences }}
</x-filament::badge>
@endif
</x-filament::button>
<div></div>
<div></div>
<div></div>
<x-filament::button size="xs" tooltip="Today" wire:click="setToday" color="gray"
icon="phosphor-calendar-dot-duotone" />
<x-filament::button size="xs" tooltip="Tomorrow" wire:click="setTomorrow" color="gray"
icon="phosphor-calendar-check-duotone" />
<x-filament::button size="xs" tooltip="One Week" wire:click="setOneWeek" color="gray"
icon="phosphor-calendar-plus-duotone" />
<div></div>
<div></div>
<div></div>
@role('partner_porgramm')
</x-filament::button>
<x-filament::button size="xs" tooltip="Show {{ auth()->user()->partnerbookmaker->name }}"
wire:click="toggleShowPartner" :color="auth()->user()->partner_show ? 'info' : 'gray'" icon="phosphor-users-duotone">
wire:click="toggleShowPartner"
:color="auth()->user()->partner_show ? 'info' : 'gray'"
icon="phosphor-users-duotone">
</x-filament::button>
<x-filament::button disabled="true" size="xs" wire:click="toggleComparePartner"
tooltip="Highlight different odds {{ auth()->user()->bookmaker->name }} vs {{ auth()->user()->partnerbookmaker->name }}"
:disabled="auth()->user()->partner_show ? false : true" :color="auth()->user()->partner_compare ? 'info' : 'gray'" icon="phosphor-exclude-square-duotone">
:disabled="auth()->user()->partner_show ? false : true"
:color="auth()->user()->partner_compare ? 'info' : 'gray'" icon="phosphor-exclude-square-duotone">
</x-filament::button>
<x-filament::button size="xs" wire:click="toggleMultiline" :tooltip="auth()->user()->is_multiline_direct ? 'Multiline slots are disabled' : 'Multiline slots are active'" :color="auth()->user()->is_multiline_direct ? 'info' : 'gray'"
:icon="auth()->user()->is_multiline_direct ? 'phosphor-not-equals' : 'phosphor-equals'">
</x-filament::button>
<div></div>
<div></div>
<div></div>
</div>
@endrole
<x-filament::button size="xs" wire:click="setAllOnlyNone(0)" :color="auth()->user()->all_only_none == 0 ? 'info' : 'gray'" icon="phosphor-stack-duotone"
tooltip="All Events">
</x-filament::button>
<x-filament::button size="xs" wire:click="setAllOnlyNone(1)" icon="phosphor-plus-square-duotone"
:color="auth()->user()->all_only_none == 1 ? 'away' : 'gray'" tooltip="Events with {{ auth()->user()->bookmaker->name }}">
</x-filament::button>
<x-filament::button size="xs" wire:click="setAllOnlyNone(2)" :color="auth()->user()->all_only_none == 2 ? 'away' : 'gray'"
icon="phosphor-minus-square-duotone" tooltip="Events without {{ auth()->user()->bookmaker->name }}">
</x-filament::button>
<div></div>
<div></div>
<div></div>
<x-filament::button size="xs" tooltip="Filter favorits" wire:click="toggleStar" color="gray"
icon="phosphor-star-duotone" />
<x-filament::button size="xs" tooltip="Filter notes" wire:click="toggleNote" color="gray"
icon="phosphor-note-duotone" />
<x-filament::button size="xs" tooltip="Filter alarm notification" wire:click="toggleNotification"
color="gray" icon="phosphor-bell-duotone" />
<div></div>
<div></div>
<div></div>
@foreach ($bettype_toggles as $toggle)
@if ($toggle['short'] == 'TQ')
<x-filament::button size="xs" class="flex flex-col justify-center gap-0"
tooltip="{{ $toggle['name'] }}" wire:click="toggleBettype({{ $toggle['id'] }})" :color="!$toggle['is_active'] ? 'gray' : 'away'">
<div class="m-0 p-0">{{ $toggle['short'] }}</div>
</x-filament::button>
@else
<x-filament::button size="xs" class="flex flex-col justify-center gap-0"
tooltip="{{ $toggle['name'] }}" wire:click="toggleBettype({{ $toggle['id'] }})" :color="!$toggle['is_active'] ? 'gray' : 'info'">
<div class="m-0 p-0">{{ $toggle['short'] }}</div>
</x-filament::button>
@endif
@endforeach
<div class="flex flex-row gap-2">
<x-filament::button size="xs" wire:click="setAllOnlyNone(0)" :color="auth()->user()->all_only_none == 0 ? 'info' : 'gray'" icon="phosphor-stack-duotone"
tooltip="All Events">
</x-filament::button>
<x-filament::button size="xs" wire:click="setAllOnlyNone(1)" icon="phosphor-plus-square-duotone"
:color="auth()->user()->all_only_none == 1 ? 'info' : 'gray'" tooltip="Events with {{ auth()->user()->bookmaker->name }}">
</x-filament::button>
<x-filament::button size="xs" wire:click="setAllOnlyNone(2)" :color="auth()->user()->all_only_none == 2 ? 'info' : 'gray'"
icon="phosphor-minus-square-duotone" tooltip="Events without {{ auth()->user()->bookmaker->name }}">
</x-filament::button>
</div>
<div class="flex flex-row gap-2">
<x-filament::button size="xs" tooltip="Filter favorits" wire:click="toggleStar" color="gray"
icon="phosphor-star-duotone" />
<x-filament::button size="xs" tooltip="Filter notes" wire:click="toggleNote" color="gray"
icon="phosphor-note-duotone" />
</div>
<div class="flex flex-row gap-2">
@foreach ($bettype_toggles as $toggle)
@if ($toggle['short'] == 'TQ')
<x-filament::button size="xs" class="flex flex-col justify-center gap-0"
tooltip="{{ $toggle['name'] }}" wire:click="toggleBettype({{ $toggle['id'] }})" :color="!$toggle['is_active'] ? 'gray' : 'away'">
<div class="m-0 p-0">{{ $toggle['short'] }}</div>
</x-filament::button>
@else
<x-filament::button size="xs" class="flex flex-col justify-center gap-0"
tooltip="{{ $toggle['name'] }}" wire:click="toggleBettype({{ $toggle['id'] }})" :color="!$toggle['is_active'] ? 'gray' : 'info'">
<div class="m-0 p-0">{{ $toggle['short'] }}</div>
</x-filament::button>
@endif
@endforeach
</div>
</div>