|
| 1 | +<x-filament-panels::page> |
| 2 | + @foreach ($info->modules() as $module) |
| 3 | + <x-filament::section :heading="$module->name()" collapsible> |
| 4 | + @foreach ($module->groups() as $group) |
| 5 | + <x-filament-tables::table> |
| 6 | + @if ($group->headings()->isNotEmpty()) |
| 7 | + <x-filament-tables::row> |
| 8 | + @foreach ($group->headings() as $heading) |
| 9 | + <x-filament-tables::header-cell> |
| 10 | + {{ $heading }} |
| 11 | + </x-filament-tables::header-cell> |
| 12 | + @endforeach |
| 13 | + </x-filament-tables::row> |
| 14 | + |
| 15 | + @foreach ($group->configs() as $config) |
| 16 | + <x-filament-tables::row> |
| 17 | + <x-filament-tables::cell :style="$loop->first ? 'max-width: 24rem; min-width: 24rem; width: 24rem; vertical-align: top' : 'vertical-align: top'"> |
| 18 | + <div class="filament-tables-column-wrapper px-4 py-3"> |
| 19 | + {{ $config->name() }} |
| 20 | + </div> |
| 21 | + </x-filament-tables::cell> |
| 22 | + |
| 23 | + <x-filament-tables::cell class="whitespace-normal" style="overflow-wrap: anywhere"> |
| 24 | + <div class="filament-tables-column-wrapper px-4 py-3"> |
| 25 | + {{ $config->localValue() }} |
| 26 | + </div> |
| 27 | + </x-filament-tables::cell> |
| 28 | + |
| 29 | + <x-filament-tables::cell class="whitespace-normal" style="overflow-wrap: anywhere"> |
| 30 | + <div class="filament-tables-column-wrapper px-4 py-3"> |
| 31 | + {{ $config->masterValue() }} |
| 32 | + </div> |
| 33 | + </x-filament-tables::cell> |
| 34 | + </x-filament-tables::row> |
| 35 | + @endforeach |
| 36 | + @else |
| 37 | + @foreach ($group->configs() as $config) |
| 38 | + <x-filament-tables::row> |
| 39 | + <x-filament-tables::header-cell :style="$loop->first ? 'max-width: 24rem; min-width: 24rem; width: 24rem; vertical-align: top' : 'vertical-align: top'"> |
| 40 | + {{ $config->name() }} |
| 41 | + </x-filament-tables::header-cell> |
| 42 | + |
| 43 | + <x-filament-tables::cell class="whitespace-normal" style="overflow-wrap: anywhere"> |
| 44 | + <div class="filament-tables-column-wrapper px-4 py-3"> |
| 45 | + {{ $config->localValue() }} |
| 46 | + </div> |
| 47 | + </x-filament-tables::cell> |
| 48 | + </x-filament-tables::row> |
| 49 | + @endforeach |
| 50 | + @endif |
| 51 | + </x-filament-tables::table> |
| 52 | + @endforeach |
| 53 | + </x-filament::section> |
| 54 | + @endforeach |
| 55 | +</x-filament-panels::page> |
0 commit comments