wip
This commit is contained in:
1 parent
9f157adc96
commit
29de0c2c6c
13 files changed
+324
-789
No files matched your search
@@ -9,33 +9,36 @@
|
||||
'timed_color' => $timed_color,
|
||||
'events_played' => $events_played,
|
||||
'everage_minutes' => $everage_minutes,
|
||||
style="opacity:0.25 !important;"
|
||||
*/
|
||||
@endphp
|
||||
@if ($record['active'])
|
||||
<div draggable="false"
|
||||
class="w-full mt-1 p-1 cursor-grab active:cursor-grabbing border border-gray-300 rounded hover:border-primary-500 transition-colors grid grid-cols-7 items-center gap-1"
|
||||
style="opacity:0.25 !important;">
|
||||
<div>
|
||||
<x-filament::badge color="{{ $record['player_color'] }}">
|
||||
{{ strtoupper($record['player_position']) }}
|
||||
class="w-full text-xs mt-1 p-1 select-none border border-gray-300 rounded hover:border-primary-500 transition-colors flex justify-end content-center items-center gap-1">
|
||||
<div class="w-86 text-[11px] min-w-86 text-center grid grid-cols-11 content-center items-center gap-1">
|
||||
<div class="bg-gray-200">{{ $record['preferred_foot'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['events_played'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['everage_minutes'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['gls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crn'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['fls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['ofs'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['snt'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['tsh'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crd'] }}</div>
|
||||
<div class="bg-black text-white rounded font-bold">{{ $record['position'] }}</div>
|
||||
</div>
|
||||
<div class="w-18 font-stretch-ultra-condensed">
|
||||
<x-filament::badge size="sm" color="{{ $record['player_color'] }}">
|
||||
{{ ucfirst($record['player_position']) }}
|
||||
</x-filament::badge>
|
||||
</div>
|
||||
<div class="text-left font-medium dark:text-white col-span-3">
|
||||
<div class="text-left font-bold tracking-tight flex-1">
|
||||
{{ $record['name'] }}
|
||||
</div>
|
||||
<div class="text-xs">
|
||||
{{ $record['preferred_foot'] }},
|
||||
Ev {{ $record['events_played'] }},
|
||||
Av {{ $record['everage_minutes'] }}min
|
||||
<div class="w-8 flex justify-end">
|
||||
<x-phosphor-map-pin class="h-5 w-5 text-orange-500" />
|
||||
</div>
|
||||
<div class="flex justify-end row-span-2">
|
||||
</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Goal: 0.13</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Card: 0.41</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Foul: 0.41</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Goal: 0.13</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Card: 0.41</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Foul: 0.41</div>
|
||||
</div>
|
||||
@else
|
||||
<div draggable="true"
|
||||
@@ -43,28 +46,30 @@
|
||||
e.dataTransfer.effectAllowed = 'copy';
|
||||
e.dataTransfer.setData('text/plain', JSON.stringify({ id: {{ $record['id'] }} }));
|
||||
}"
|
||||
class="w-full mt-1 p-1 cursor-grab active:cursor-grabbing border border-gray-300 rounded hover:border-primary-500 transition-colors grid grid-cols-7 items-center gap-1">
|
||||
<div>
|
||||
<x-filament::badge color="{{ $record['player_color'] }}">
|
||||
{{ strtoupper($record['player_position']) }}
|
||||
class="w-full text-xs mt-1 p-1 select-none cursor-grab active:cursor-grabbing border border-gray-300 rounded hover:border-primary-500 transition-colors flex justify-end content-center items-center gap-1">
|
||||
<div class="w-86 text-[11px] min-w-86 text-center grid grid-cols-11 content-center items-center gap-1">
|
||||
<div class="bg-gray-200">{{ $record['preferred_foot'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['events_played'] }}</div>
|
||||
<div class="bg-gray-200">{{ $record['everage_minutes'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['gls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crn'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['fls'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['ofs'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['snt'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['tsh'] }}</div>
|
||||
<div class="bg-blue-100">{{ $record['crd'] }}</div>
|
||||
<div class="bg-black text-white rounded font-bold">{{ $record['position'] }}</div>
|
||||
</div>
|
||||
<div class="w-18 font-stretch-ultra-condensed">
|
||||
<x-filament::badge size="sm" color="{{ $record['player_color'] }}">
|
||||
{{ ucfirst($record['player_position']) }}
|
||||
</x-filament::badge>
|
||||
</div>
|
||||
<div class="text-left font-medium dark:text-white col-span-3">
|
||||
<div class="text-left font-bold tracking-tight flex-1">
|
||||
{{ $record['name'] }}
|
||||
</div>
|
||||
<div class="text-xs col-span-2">
|
||||
{{ $record['preferred_foot'] }},
|
||||
Ev {{ $record['events_played'] }},
|
||||
Av {{ $record['everage_minutes'] }}min
|
||||
</div>
|
||||
<div class="flex justify-end row-span-2 p-1">
|
||||
<div class="w-8 flex justify-end">
|
||||
<x-phosphor-dots-six-vertical class="h-5 w-5" />
|
||||
</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Goal: 0.13</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Card: 0.41</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Foul: 0.41</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Goal: 0.13</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Card: 0.41</div>
|
||||
<div class="bg-gray-100 text-xs text-center">Foul: 0.41</div>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
Reference in new issue
Block a user