54 lines
1.8 KiB
HTML
54 lines
1.8 KiB
HTML
|
{% extends 'base.html' %}
|
||
|
{% load static %}
|
||
|
{% block title %}LISTA FILM PER GENERE {{ genere }} {% endblock title %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
|
||
|
<!-- page title -->
|
||
|
<section class="section section--first section--bg" data-bg="https://i.ibb.co/1rMvtMS/section.jpg">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-12">
|
||
|
<div style="justify-content: center!important;" class="section__wrap">
|
||
|
<!-- section title -->
|
||
|
<h2 style="text-transform: uppercase;" class="section__title">SERIE TV PER GENERE : {{ genere }}</h2>
|
||
|
<!-- end section title -->
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
<!-- end page title -->
|
||
|
<!-- catalog -->
|
||
|
<div class="catalog">
|
||
|
<div style="margin-top: 30px;" class="container">
|
||
|
<div class="row">
|
||
|
<!-- card -->
|
||
|
{% for tvshow in serietv %}
|
||
|
<div class="col-6 col-sm-4 col-lg-3 col-xl-3">
|
||
|
<div class="card">
|
||
|
<div class="card__cover">
|
||
|
<img src="{{ tvshow.immagine_poster.url }}" alt="">
|
||
|
<a href="{{ tvshow.get_absolute_url }}" class="card__play">
|
||
|
<i class="icon ion-ios-play"></i>
|
||
|
</a>
|
||
|
</div>
|
||
|
<div class="card__content">
|
||
|
<h3 class="card__title"><a href="{{ tvshow.get_absolute_url }}">{{ tvshow.titolo }}</a></h3>
|
||
|
<span class="card__category">
|
||
|
{% for genere_serietv in tvshow.genere.all %}
|
||
|
<a href="{{ genere_serietv.get_absolute_url }}">{{ genere_serietv.genere }}</a>
|
||
|
{% endfor %}
|
||
|
</span>
|
||
|
<span class="card__rate"><i class="icon ion-ios-star"></i>{{ tvshow.voto }}</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
<!-- end card -->
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<!-- end catalog -->
|
||
|
{% endblock content %}
|