@extends('layouts.admin') @section('content')

{{ $title }}

Total: {{ $tvshowlist->total() }} shows
Add TV Show
@if($showname) Clear @endif
@forelse($tvshowlist as $show) @empty @endforelse
Cover Title Type Started IDs Publisher Actions
@php $coverPath = public_path('covers/tvshows/' . $show->id . '.jpg'); $hasCover = file_exists($coverPath); @endphp @if($hasCover) {{ $show->title }} @else
@endif
{{ $show->title }}
@if(!empty($show->summary))
{{ Str::limit($show->summary, 100) }}
@endif
@if($show->type == 0) TV @elseif($show->type == 1) Film @elseif($show->type == 2) Anime @endif {{ $show->started ?? '—' }}
@if($show->tvdb)
TVDB: {{ $show->tvdb }}
@endif @if($show->imdb)
IMDB: {{ $show->imdb }}
@endif @if($show->tmdb)
TMDB: {{ $show->tmdb }}
@endif @if($show->trakt)
Trakt: {{ $show->trakt }}
@endif @if($show->tvmaze)
TVMaze: {{ $show->tvmaze }}
@endif @if($show->anidb)
AniDB: {{ $show->anidb }}
@endif
{{ $show->publisher ?? '—' }}
@if($showname)

No TV shows found for "{{ $showname }}"

Clear search and view all
@else

No TV shows available

@endif
Showing {{ $tvshowlist->firstItem() ?? 0 }} to {{ $tvshowlist->lastItem() ?? 0 }} of {{ $tvshowlist->total() }} shows
{{ $tvshowlist->appends(['showname' => $showname])->links() }}
{{-- Styles moved to resources/css/csp-safe.css --}} @endsection