{{-- 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 --}}
@if($table->description) Description {!! Widget::collapsible($table->description, 400, '8em') !!} @if($table->origin)
{{-- spacer --}} @endif @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->format("M j, Y") }}
Updated {{ $table->updated_at->format("M j, Y") }}
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