lampuotomatis/resources/views/vendor/livewire-tables/components/table/empty.blade.php

20 lines
657 B
PHP

@aware(['isTailwind','isBootstrap'])
@php($attributes = $attributes->merge(['wire:key' => 'empty-message-'.$this->getId()]))
@if ($isTailwind)
<tr {{ $attributes }}>
<td colspan="{{ $this->getColspanCount() }}">
<div class="flex justify-center items-center space-x-2 dark:bg-gray-800">
<span class="font-medium py-8 text-gray-400 text-lg dark:text-white">{{ $this->getEmptyMessage() }}</span>
</div>
</td>
</tr>
@elseif ($isBootstrap)
<tr {{ $attributes }}>
<td colspan="{{ $this->getColspanCount() }}">
{{ $this->getEmptyMessage() }}
</td>
</tr>
@endif