61 lines
4.2 KiB
PHP
Executable File
61 lines
4.2 KiB
PHP
Executable File
<x-filament-panels::page>
|
|
@if ($this->hasInfolist())
|
|
{{ $this->infolist }}
|
|
@else
|
|
<div class="flex flex-col">
|
|
<div class="-m-1.5 overflow-x-auto">
|
|
<div class="p-1.5 min-w-full inline-block align-middle">
|
|
<div class="border rounded-lg shadow overflow-hidden">
|
|
<table class="min-w-full divide-y divide-gray-200">
|
|
<thead>
|
|
<tr class="divide-x divide-gray-200">
|
|
<th scope="col" class="px-6 py-3 text-start text-xs font-medium text-gray-500 uppercase">Name</th>
|
|
<th scope="col" class="px-6 py-3 text-start text-xs font-medium text-gray-500 uppercase">Age</th>
|
|
<th scope="col" class="px-6 py-3 text-start text-xs font-medium text-gray-500 uppercase">Address</th>
|
|
<th scope="col" class="px-6 py-3 text-end text-xs font-medium text-gray-500 uppercase">Action</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="divide-y divide-gray-200">
|
|
<tr>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-800">John Brown</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">45</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">New York No. 1 Lake Park</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-end text-sm font-medium">
|
|
<button type="button" class="inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent text-blue-600 hover:text-blue-800 focus:outline-none focus:text-blue-800 disabled:opacity-50 disabled:pointer-events-none">Delete</button>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-800">Jim Green</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">27</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">London No. 1 Lake Park</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-end text-sm font-medium">
|
|
<button type="button" class="inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent text-blue-600 hover:text-blue-800 focus:outline-none focus:text-blue-800 disabled:opacity-50 disabled:pointer-events-none">Delete</button>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-800">Joe Black</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">31</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-800">Sidney No. 1 Lake Park</td>
|
|
<td class="px-6 py-4 whitespace-nowrap text-end text-sm font-medium">
|
|
<button type="button" class="inline-flex items-center gap-x-2 text-sm font-semibold rounded-lg border border-transparent text-blue-600 hover:text-blue-800 focus:outline-none focus:text-blue-800 disabled:opacity-50 disabled:pointer-events-none">Delete</button>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
{{-- @if (count($relationManagers = $this->getRelationManagers()))--}}
|
|
{{-- <x-filament-panels::resources.relation-managers--}}
|
|
{{-- :active-manager="$this->activeRelationManager"--}}
|
|
{{-- :managers="$relationManagers"--}}
|
|
{{-- :owner-record="$record"--}}
|
|
{{-- :page-class="static::class"--}}
|
|
{{-- />--}}
|
|
{{-- @endif--}}
|
|
</x-filament-panels::page> |