2021-12-02 22:30:17 +01:00
|
|
|
{% extends 'base.html' %}
|
2021-12-02 19:30:42 +01:00
|
|
|
{% load static %}
|
2021-12-02 22:30:17 +01:00
|
|
|
{% block content %}
|
2021-12-03 00:06:04 +01:00
|
|
|
<h1>Les sauveteurs du Dunkerquois</h1>
|
2021-12-02 22:30:17 +01:00
|
|
|
<section>
|
|
|
|
<h2>Carte dynamique</h2>
|
2021-12-03 00:06:04 +01:00
|
|
|
<img class="map" src="{% static 'images/map.png' %}">
|
2021-12-02 22:30:17 +01:00
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<h2>Articles récents</h2>
|
|
|
|
<div class="flex-card">
|
2021-12-03 04:22:10 +01:00
|
|
|
{% for rescue in rescues %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="img-container">
|
|
|
|
<img src="{% static 'images/sauvetage.png' %}">
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<p class="date">{{ rescue.date }}</p>
|
|
|
|
<p class="titre">{{ rescue.name }}</p>
|
|
|
|
<a class="btn" href="/a/{{ rescue.pk }}">Voir l'article</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2021-12-02 22:30:17 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
2021-12-03 00:06:04 +01:00
|
|
|
{% include 'quicksearch.html' %}
|
2021-12-02 22:30:17 +01:00
|
|
|
{% endblock %}
|