Browse Source

:lipstick: Amelioration de l'UI sur la page d'acceuil

merge-requests/7/head
Valentin SAVREUX 7 months ago
parent
commit
6457c818a4
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      films/templates/films/index.html

+ 7
- 3
films/templates/films/index.html View File

@@ -21,9 +21,13 @@
</div>

<div class="dernierFilm">
{% for film in latest_film_list %}
<img src="{{ film.poster }}" alt="Card image cap">
{% endfor %}
{% if latest_film_list %}
{% for film in latest_film_list %}
<img src="{{ film.poster }}" alt="Card image cap">
{% endfor %}
{% else %}
<p style="height: 45vh; text-align: center; width: 100%; font-size: xx-large">Pas de film sur cette instance de Redflix !</p>
{% endif %}
</div>
<a href="{% url 'films:moviesList' %}">Voir les autres films</a>


Loading…
Cancel
Save