2022-11-17 17:51:43 -06:00
|
|
|
<section class="hero">
|
|
|
|
<div class="hero-body hero-cartels">
|
|
|
|
{% if request.get_full_path == "/" %}
|
2022-12-08 20:18:26 -06:00
|
|
|
<p class="title">
|
|
|
|
{% if gender %}
|
2023-01-20 16:01:45 -06:00
|
|
|
<a href="{% url 'search' %}?q=g:{{ section | slugify }}">
|
2022-12-08 20:18:26 -06:00
|
|
|
{% else %}
|
2023-01-20 16:01:45 -06:00
|
|
|
<a href="{% url 'search' %}?q=s:{{ section | slugify }}">
|
2022-12-08 20:18:26 -06:00
|
|
|
{% endif %}
|
|
|
|
{{ section }}<span class="arrows"/></a>
|
|
|
|
</p>
|
2022-11-17 17:51:43 -06:00
|
|
|
{% else %}
|
|
|
|
<p class="title">{{ section }}</p>
|
2023-01-20 17:49:27 -06:00
|
|
|
{% if request.path == "/search/" %}
|
|
|
|
<p class="subtitle">Visita la <a href="{% url 'help' %}">ayuda</a> para obtener mejores resultados.
|
|
|
|
{% endif %}
|
2022-11-17 17:51:43 -06:00
|
|
|
{% endif %}
|
|
|
|
<div class="cartels">
|
|
|
|
{% for movie in content %}
|
2023-01-09 19:41:36 -06:00
|
|
|
<div class="cartel tooltip">
|
2023-01-10 13:21:12 -06:00
|
|
|
<span class="tooltiptext">{{ movie.name }} ({{ movie.duration_formatted | safe }})</span>
|
2023-01-09 19:41:36 -06:00
|
|
|
<!--
|
|
|
|
Lo comentado activaría una ficha que se ve en lugar del cartel.
|
|
|
|
Una idea a futuro es que sirva para mostrar la ficha de la
|
|
|
|
pelicula como ventana flotante.
|
|
|
|
<input type="checkbox" class="toggle">
|
|
|
|
-->
|
2022-11-17 17:51:43 -06:00
|
|
|
<div class="info">
|
|
|
|
{% include 'info.html' with movie=movie %}
|
|
|
|
</div>
|
|
|
|
<figure class="image is-2by3">
|
2023-01-09 19:41:36 -06:00
|
|
|
<a href="/movie/{{ movie.id }}">
|
|
|
|
<img src="{{ movie.cartel }}">
|
|
|
|
</a>
|
2022-11-17 17:51:43 -06:00
|
|
|
</figure>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|