@extends('panel.layout.app') @section('title', 'My Documents') @section('content')
@foreach($items as $entry) @if($entry->generator != null) @if($entry->generator->type != 'image') @if($entry->generator->type == 'text') @elseif($entry->generator->type == 'audio') @elseif($entry->generator->type == 'code') @elseif($entry->generator->type == 'voiceover') @else @endif @if($entry->generator->type != 'voiceover') @endif @endif @endif @endforeach
{{__('Type')}} {{__('Category')}} {{__('Tokens Used')}} {{__('Output')}} {{__('Created At')}} {{__('Actions')}}
@if ( $entry->generator->image !== 'none' ) {!! html_entity_decode($entry->generator->image) !!} @endif {{$entry->generator->title}} {{$entry->credits}} {{\Illuminate\Support\Str::limit(strip_tags($entry->output), 200)}} {!! \Illuminate\Support\Str::limit($entry->output, 200) !!} {{\Illuminate\Support\Str::limit(strip_tags($entry->output), 200)}}

{{date("j.n.Y", strtotime($entry->created_at))}}

{{date("H:i:s", strtotime($entry->created_at))}}

@if($entry->generator->type == 'voiceover') @else @endif
{{$items->links('pagination::bootstrap-5')}}
@endsection @section('script') @endsection