filter comparatore wip
This commit is contained in:
1 parent
7a9eeb8aad
commit
937c5908d2
40 files changed
+362
-306
No files matched your search
@@ -1,16 +1,35 @@
|
||||
<div class="flex flex-row gap-3">
|
||||
|
||||
<x-filament::button size="xs"
|
||||
wire:click="toggleFilter"
|
||||
:hidden="auth()->user()->is_multiline_direct ? false : true"
|
||||
:tooltip="auth()->user()->no_filter ? 'Comparing filters are disabled' : 'Comparing filters are active'"
|
||||
:color="auth()->user()->no_filter ? 'primary' : 'gray'"
|
||||
:icon="auth()->user()->no_filter ? 'phosphor-funnel-x' : 'phosphor-funnel'">
|
||||
</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 ? 'primary' : 'gray'"
|
||||
:icon="auth()->user()->is_multiline_direct ? 'phosphor-not-equals' : 'phosphor-equals'">
|
||||
</x-filament::button>
|
||||
|
||||
<x-filament::button size="xs"
|
||||
tooltip="Toggle favorits"
|
||||
wire:click="toggleStar"
|
||||
:color="auth()->user()->stars ? 'primary' : 'gray'"
|
||||
:icon="auth()->user()->stars ? 'phosphor-star-fill' : 'phosphor-star'">
|
||||
</x-filament::button>
|
||||
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
|
||||
@foreach ($bettype_toggles as $toggle)
|
||||
<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' : 'primary'">
|
||||
<div class="m-0 p-0">{{ $toggle['short'] }}</div>
|
||||
</x-filament::button>
|
||||
@endforeach
|
||||
<x-filament::button size="xs"
|
||||
tooltip="
|
||||
Toggle multiline between 'Comparing Bookmaker List' or 'Fixed Bookmaker'"
|
||||
wire:click="toggleMultiline" :color="auth()->user()->is_multiline_direct ? 'primary' : 'gray'" icon='phosphor-list'>
|
||||
</x-filament::button>
|
||||
|
||||
<x-filament::button size="xs" wire:click="toggleStar" :color="auth()->user()->stars ? 'primary' : 'gray'" :icon="auth()->user()->stars ? 'phosphor-star-fill' : 'phosphor-star'">
|
||||
</x-filament::button>
|
||||
</div>
|
||||
@@ -157,10 +157,10 @@
|
||||
</x-filament::modal>
|
||||
|
||||
{{-- Multiline --}}
|
||||
<x-filament::modal slide-over width="4xl" icon="phosphor-list" :close-by-clicking-away="false" :close-by-escaping="true"
|
||||
<x-filament::modal slide-over width="4xl" icon="phosphor-equals" :close-by-clicking-away="false" :close-by-escaping="true"
|
||||
:close-button="true">
|
||||
<x-slot name="trigger">
|
||||
<x-filament::icon-button outlined icon="phosphor-list" color="gray" class="my-auto"
|
||||
<x-filament::icon-button outlined icon="phosphor-equals" color="gray" class="my-auto"
|
||||
title="Multiline Settings">
|
||||
</x-filament::icon-button>
|
||||
</x-slot>
|
||||
|
||||
Reference in new issue
Block a user