Files
landing-api/resources/views/filament/tables/columns/json-value.blade.php
Josep Piguillem 3897113313 Initial commit: Pireon Admin — headless admin panel and public API
Laravel 13 + Filament 5 admin panel and REST API for a non-profit developer
collective, backed by the Pireon OAuth identity server. The public site is a
separate, server-rendered application consuming /api/public/v1.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-19 17:55:27 +02:00

9 lines
460 B
PHP

@php
$json = json_encode($getState(), JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
@endphp
{{-- A setting's value is arbitrary JSON, so it is shown as-is rather than
coerced into a string. Bounded on both axes: one long value must not push
the table sideways or turn the row into a screenful. --}}
<pre class="max-h-40 max-w-md overflow-auto rounded-lg bg-gray-100 p-2 text-xs text-gray-700 dark:bg-white/5 dark:text-gray-300">{{ $json }}</pre>