{{-- Basic table view --}} @extends('layouts.app') @php /** @var \App\Models\Table $table */ @endphp @section('content')
{{ $table->owner->handle }}{{-- --}}/{{-- --}}{{ $table->name }}

{{ $table->title }}

{{-- Tab pane --}}
{{-- Description field --}}
Description @if($table->description) {!! Widget::collapsible($table->description, 400, '8em') !!} @if($table->origin)
{{-- spacer --}} @endif @else

No description.

@endif @if($table->origin)

Adapted From
{!! Widget::tryLink($table->origin) !!}

@endif
{{-- Info table --}}
Author {{ $table->owner->title }} ({{ $table->owner->handle }})
License {{ $table->license ?: 'CC0' }}
Created {{ $table->created_at->diffForHumans() }}
Updated {{ $table->updated_at->diffForHumans() }}
Revisions {{ $table->revisions_count }}
Visits {{ $table->visits }}  {!! Widget::help('Visitors counted once per day') !!}
{{-- inner row --}}
{{-- Tab container --}}
Column toggles, sort, filtering … coming soon
Export … coming soon
{{-- Tab panel --}} {{-- Right column with menu --}}
@foreach($columns as $col) @endforeach @foreach($rows as $row) @php($rdata = json_decode($row['data'], true)) @foreach($columns as $col) @endforeach @endforeach
{{ $col->title }}
{{ $rdata[$col->name] }}
@endsection