mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-08 04:00:14 -05:00
50 lines
2.5 KiB
PHP
50 lines
2.5 KiB
PHP
<section class="panelV2">
|
|
<header class="panel__header">
|
|
<h2 class="panel__heading">{{ __('mediahub.collections') }}</h2>
|
|
<div class="panel__actions">
|
|
<div class="panel__action">
|
|
<div class="form__group">
|
|
<input
|
|
class="form__text"
|
|
placeholder=""
|
|
type="text"
|
|
wire:model.debounce.250ms="search"
|
|
/>
|
|
<label class="form__label form__label--floating">
|
|
{{ __('torrent.search-by-name') }}
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
{{ $collections->links('partials.pagination') }}
|
|
<div class="panel__body">
|
|
@foreach($collections as $collection)
|
|
<div class="col-md-12">
|
|
<div class="collection">
|
|
<div class="header collection"
|
|
style=" background-image: url({{ isset($collection->backdrop) ? tmdb_image('back_big', $collection->backdrop) : 'https://via.placeholder.com/1280x300' }}); background-size: cover; background-position: 50% 50%;">
|
|
<div class="collection-overlay"
|
|
style="position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(0, 0, 0, 0.87), rgba(45, 71, 131, 0.46));"></div>
|
|
<section class="collection">
|
|
<h2>{{ $collection->name }}</h2>
|
|
<p class="text-blue">{{ __('mediahub.includes') }}
|
|
@foreach($collection->movie as $collection_movie)
|
|
{{ $collection_movie->title }},
|
|
@endforeach
|
|
</p>
|
|
|
|
<a href="{{ route('mediahub.collections.show', ['id' => $collection->id]) }}" role="button"
|
|
class="btn btn-labeled btn-primary"
|
|
style=" margin: 0; text-transform: uppercase; position: absolute; bottom: 50px;">
|
|
<span class="btn-label"><i class="{{ config("other.font-awesome") }} fa-copy"></i> {{ __('mediahub.view-collection') }}</span>
|
|
</a>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
{{ $collections->links('partials.pagination') }}
|
|
</div>
|