This commit is contained in:
salam committed 2025-12-28 08:26:49 +01:00
1 parent 75d30353fc
commit 80f50c9eec
11 files changed
+117 -114

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 3334 1667" version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"
xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<path d="M2957.55,150.93c-17.008,-36.473 -60.428,-52.277 -96.901,-35.269l-2511.23,1171.01c-36.473,17.008 -52.277,60.427 -35.269,96.901l61.632,132.17c17.007,36.473 60.427,52.276 96.901,35.269l2511.23,-1171.01c36.474,-17.008 52.277,-60.428 35.269,-96.901l-61.631,-132.17Z" fill="currentColor"/>
<path d="M3019.18,1383.57c17.008,-36.474 1.205,-79.893 -35.269,-96.901l-2511.23,-1171.01c-36.474,-17.008 -79.894,-1.204 -96.901,35.269l-61.632,132.17c-17.008,36.473 -1.204,79.893 35.269,96.901l2511.23,1171.01c36.473,17.007 79.893,1.204 96.901,-35.269l61.631,-132.17Z" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" viewBox="0 0 3334 1667" version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve"
xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<path d="M3125,135.417c0,-40.244 -32.673,-72.917 -72.917,-72.917l-2770.83,-0c-40.244,-0 -72.917,32.673 -72.917,72.917l0,145.833c0,40.244 32.673,72.917 72.917,72.917l2770.83,-0c40.244,-0 72.917,-32.673 72.917,-72.917l0,-145.833Z" fill="currentColor"/>
<path d="M3125,1385.42c0,-40.244 -32.673,-72.917 -72.917,-72.917l-2770.83,0c-40.244,0 -72.917,32.673 -72.917,72.917l0,145.833c0,40.244 32.673,72.917 72.917,72.917l2770.83,-0c40.244,-0 72.917,-32.673 72.917,-72.917l0,-145.833Z" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 972 B

@@ -9,11 +9,9 @@
x-on:drop.prevent="
const id = event.dataTransfer.getData('text/plain');
const target = event.target.closest('li');
{{-- console.log(document.getElementById(id).getAttribute('mapper'), id, target.id, target.getAttribute('mapper')); --}}
if(document.getElementById(id).getAttribute('mapper') !=target.getAttribute('mapper'))
$dispatch('mapchecker', { event_id: id, match_id:target.id });"
$wire.mountAction('left', { event_id: id, match_id: target.id });"
draggable="true" mapper="left">
{{-- @livewire('child', ['matchid' => id])" --}}
<div class="w-6 flex-none mx-auto my-auto">
@if ($record->country->iso2)
@@ -10,10 +10,10 @@
x-on:drop.prevent="
const id = event.dataTransfer.getData('text/plain');
const target = event.target.closest('li');
{{-- console.log(document.getElementById(id).getAttribute('mapper'), id, target.id, target.getAttribute('mapper'));" --}}
if(document.getElementById(id).getAttribute('mapper') !=target.getAttribute('mapper'))
$dispatch('mapchecker', { match_id: id, event_id:target.id });"
$wire.mountAction('right', { match_id: id, event_id: target.id });"
draggable="true" mapper="right">
{{-- console.log(document.getElementById(id).getAttribute('mapper'), id, target.id, target.getAttribute('mapper'));" --}}
{{-- $dispatch('map-checker', { match_id: id, event_id:target.id });" --}}
<div class="w-6 flex-none my-auto">
@@ -0,0 +1,22 @@
<div>
<div class="grid grid-cols-3 gap-4 text-center text-xl">
<div>{{ $event->home->name }}</div>
<div class="row-span-2 text-center py-auto">
<div x-data="{ open: false, toggle() { this.open = !this.open } }" x-init="open = true">
<x-filament::button color="gray" outlined @click="toggle()">
<div x-show="open">
<x-icon-paralell class="h-16 w-16 mx-auto" />
</div>
<div x-show="!open">
<x-icon-crossed class="h-16 w-16 mx-auto" />
</div>
</x-filament::button>
</div>
</div>
<div>{{ $mapper->home }}</div>
<div>{{ $event->away->name }}</div>
<div>{{ $mapper->away }}</div>
</div>
</div>
@@ -1,5 +0,0 @@
<div @mapchecker.window="console.log('match_id', $event.detail.match_id, 'event_id', $event.detail.event_id);">
{{ $this->table }}
</div>
{{-- @notify="alert($event.detail.message)" --}}
{{-- @wire.set --}}
@@ -30,13 +30,6 @@
</div>
</x-filament::modal>
{{-- START MAP CHECKER MODAL --}}
<x-filament::modal @mapchecker.window="isOpen = true">
@livewire('mapchecker', ['match_id' => $event . detail . match_id])
</x-filament::modal>
{{-- END MAP CHECKER MODAL --}}
<x-filament::dropdown class="mx-4">
<x-slot name="trigger">
<x-filament::button outlined icon="heroicon-o-adjustments-horizontal" color="gray">