new mapper new colors
This commit is contained in:
1 parent
d077b6a429
commit
f1b0f43ded
14 files changed
+152
-143
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<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" />
|
||||
@@ -19,53 +19,52 @@
|
||||
<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 .
|
||||
' ' .
|
||||
$this->bookmakerCount .
|
||||
' - ' .
|
||||
auth()->user()->partnerbookmaker->name .
|
||||
' ' .
|
||||
$this->partnerCount }}">
|
||||
Missing
|
||||
@if ($this->bookmakerPartnerDiffrences == 0)
|
||||
<x-filament::badge size="xs" color="gray">
|
||||
0
|
||||
</x-filament::badge>
|
||||
@else
|
||||
<x-filament::badge size="xs" color="danger">
|
||||
{{ $this->bookmakerPartnerDiffrences }}
|
||||
</x-filament::badge>
|
||||
@endif
|
||||
</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">
|
||||
</x-filament::button>
|
||||
<div class="flex flex-row gap-2">
|
||||
<x-filament::button size="xs" wire:poll.20s="setDifferences" :color="auth()->user()->bookmaker_partner_differences ? 'primary' : 'gray'"
|
||||
wire:click="toggleBookmakerPartnerDiffrences"
|
||||
tooltip="{{ auth()->user()->bookmaker->name .
|
||||
' ' .
|
||||
$this->bookmakerCount .
|
||||
' - ' .
|
||||
auth()->user()->partnerbookmaker->name .
|
||||
' ' .
|
||||
$this->partnerCount }}">
|
||||
Missing
|
||||
@if ($this->bookmakerPartnerDiffrences == 0)
|
||||
<x-filament::badge size="xs" color="gray">
|
||||
0
|
||||
</x-filament::badge>
|
||||
@else
|
||||
<x-filament::badge size="xs" color="danger">
|
||||
{{ $this->bookmakerPartnerDiffrences }}
|
||||
</x-filament::badge>
|
||||
@endif
|
||||
</x-filament::button>
|
||||
<x-filament::button size="xs" tooltip="Show {{ auth()->user()->partnerbookmaker->name }}"
|
||||
wire:click="toggleShowPartner" :color="auth()->user()->partner_show ? 'primary' : 'gray'" icon="phosphor-users-duotone">
|
||||
</x-filament::button>
|
||||
|
||||
<x-filament::button disabled="true" size="xs" wire:click="toggleComparePartner"
|
||||
tooltip="Filter events where odds are different"
|
||||
: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 disabled="true" size="xs" wire:click="toggleComparePartner"
|
||||
tooltip="Filter events where odds are different" :disabled="auth()->user()->partner_show ? false : true" :color="auth()->user()->partner_compare ? 'primary' : '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>
|
||||
<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>
|
||||
</div>
|
||||
@endrole
|
||||
|
||||
|
||||
<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 size="xs" wire:click="setAllOnlyNone(0)" :color="auth()->user()->all_only_none == 0 ? 'primary' : '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 }}">
|
||||
:color="auth()->user()->all_only_none == 1 ? 'primary' : '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'"
|
||||
<x-filament::button size="xs" wire:click="setAllOnlyNone(2)" :color="auth()->user()->all_only_none == 2 ? 'primary' : 'gray'"
|
||||
icon="phosphor-minus-square-duotone" tooltip="Events without {{ auth()->user()->bookmaker->name }}">
|
||||
</x-filament::button>
|
||||
</div>
|
||||
@@ -84,7 +83,7 @@
|
||||
</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'">
|
||||
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>
|
||||
@endif
|
||||
|
||||
Reference in new issue
Block a user