2021-12-03 02:37:28 +01:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% load static %}
|
|
|
|
{% block content %}
|
2021-12-03 04:53:31 +01:00
|
|
|
<a href="/a/submit" class="btn-add">+</a>
|
2021-12-03 02:37:28 +01:00
|
|
|
<section>
|
2021-12-03 04:53:31 +01:00
|
|
|
<h1>Sauvetages</h1>
|
2021-12-03 02:37:28 +01:00
|
|
|
<div class="flex-card">
|
|
|
|
{% for rescue in rescues %}
|
|
|
|
<div class="card">
|
|
|
|
<div class="inner">
|
|
|
|
<div class="img-container">
|
2021-12-03 04:53:31 +01:00
|
|
|
<a href="/a/{{ rescue.pk }}/">
|
|
|
|
<img src="{% static 'images/sauvetage.png' %}">
|
|
|
|
</a>
|
2021-12-03 02:37:28 +01:00
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<p class="date">{{ rescue.date }}</p>
|
|
|
|
<p class="titre">{{ rescue.name }}</p>
|
2021-12-03 04:53:31 +01:00
|
|
|
<a class="btn" href="/a/{{ rescue.pk }}/">Voir le sauvetage</a>
|
2021-12-03 02:37:28 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2021-12-03 04:53:31 +01:00
|
|
|
<a class="btn btn--blue" href="">Charger plus de sauvetages</a>
|
2021-12-03 02:37:28 +01:00
|
|
|
</section>
|
|
|
|
{% include 'quicksearch.html' %}
|
|
|
|
{% endblock %}
|