mapper ok
This commit is contained in:
1 parent
2e57e49f08
commit
c617935e2f
18 files changed
+227
-97
No files matched your search
@@ -21,8 +21,7 @@
|
||||
@endif
|
||||
</div>
|
||||
|
||||
@include('filament.tables.columns.parts.search-button', [
|
||||
'target' => 'input-2',
|
||||
@include('filament.tables.columns.parts.search-button-left', [
|
||||
'find' => $record->home->name,
|
||||
])
|
||||
|
||||
@@ -32,9 +31,9 @@
|
||||
<div>{{ $record->id }}</div>
|
||||
</div>
|
||||
<div class="flex justify-center space-x-4">
|
||||
<div class="text-right font-bold">{{ $record->home->name }}</div>
|
||||
<div class="text-right font-bold text-wrap">{{ $record->home->name }}</div>
|
||||
<div class="w-6 text-center">-</div>
|
||||
<div class="text-left font-bold">{{ $record->away->name }}</div>
|
||||
<div class="text-left font-bold text-wrap">{{ $record->away->name }}</div>
|
||||
</div>
|
||||
<div class="flex justify-center space-x-4 text-gray-600 dark:text-gray-500">
|
||||
<div>{{ $record->country?->name }}</div>
|
||||
@@ -43,8 +42,7 @@
|
||||
|
||||
</div>
|
||||
|
||||
@include('filament.tables.columns.parts.search-button', [
|
||||
'target' => 'input-2',
|
||||
@include('filament.tables.columns.parts.search-button-left', [
|
||||
'find' => $record->away->name,
|
||||
])
|
||||
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
|
||||
@include('filament.tables.columns.parts.move-botton')
|
||||
|
||||
@include('filament.tables.columns.parts.search-button', [
|
||||
'target' => 'input-1',
|
||||
@include('filament.tables.columns.parts.search-button-right', [
|
||||
'find' => $record->home,
|
||||
])
|
||||
|
||||
@@ -27,9 +26,9 @@
|
||||
<div>{{ $record->event_id }}</div>
|
||||
</div>
|
||||
<div class="flex justify-center space-x-4">
|
||||
<div class="text-right font-bold">{{ $record->home }}</div>
|
||||
<div class="text-right font-bold text-wrap">{{ $record->home }}</div>
|
||||
<div class="w-6 text-center">-</div>
|
||||
<div class="text-left font-bold">{{ $record->away }}</div>
|
||||
<div class="text-left font-bold text-wrap">{{ $record->away }}</div>
|
||||
</div>
|
||||
<div class="flex justify-center space-x-4 text-gray-600 dark:text-gray-500">
|
||||
<div>{{ $record->country }}</div>
|
||||
@@ -38,8 +37,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('filament.tables.columns.parts.search-button', [
|
||||
'target' => 'input-1',
|
||||
@include('filament.tables.columns.parts.search-button-right', [
|
||||
'find' => $record->away,
|
||||
])
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="my-auto">
|
||||
<x-filament::button icon="phosphor-magnifying-glass" size="xs" x-on:click="search_right='{{ $find }}';" />
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="my-auto">
|
||||
<x-filament::button icon="phosphor-magnifying-glass" size="xs" x-on:click="search_left='{{ $find }}'; " />
|
||||
</div>
|
||||
@@ -1,5 +0,0 @@
|
||||
<div class="my-auto">
|
||||
<x-filament::button icon="phosphor-magnifying-glass" color="gray" size="xs"
|
||||
x-on:click="document.getElementById('{{ $target }}').focus();
|
||||
document.getElementById('{{ $target }}').value = '{{ $find }}';" />
|
||||
</div>
|
||||
Reference in new issue
Block a user