Files
ai-stylegallery/resources/views/filament/pages/plugins.blade.php

65 lines
2.6 KiB
PHP

<x-filament-panels::page>
<x-filament::section>
<x-slot name="heading">
Plugins
</x-slot>
<x-filament-tables::table>
<thead>
<tr>
<x-filament-tables::header-cell>
Name
</x-filament-tables::header-cell>
<x-filament-tables::header-cell>
Identifier
</x-filament-tables::header-cell>
<x-filament-tables::header-cell>
Enabled
</x-filament-tables::header-cell>
<x-filament-tables::header-cell>
Configured
</x-filament-tables::header-cell>
</tr>
</thead>
<tbody>
@foreach ($this->getTableRecords() as $record)
<x-filament-tables::row>
<x-filament-tables::cell>
{{ $record->name }}
</x-filament-tables::cell>
<x-filament-tables::cell>
{{ $record->identifier }}
</x-filament-tables::cell>
<x-filament-tables::cell>
@if ($record->enabled)
<x-filament::icon
icon="heroicon-o-check-circle"
class="text-success-500"
/>
@else
<x-filament::icon
icon="heroicon-o-x-circle"
class="text-danger-500"
/>
@endif
</x-filament-tables::cell>
<x-filament-tables::cell>
@if ($record->configured)
<x-filament::icon
icon="heroicon-o-check-circle"
class="text-success-500"
/>
@else
<x-filament::icon
icon="heroicon-o-x-circle"
class="text-danger-500"
/>
@endif
</x-filament-tables::cell>
</x-filament-tables::row>
@endforeach
</tbody>
</x-filament-tables::table>
</x-filament::section>
</x-filament-panels::page>