420d6eb94f4bcff7583689e1aa97ef2d4a9be376
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / sites / index.html
1 {% extends "container_base.html" %}
2 {% load pagination_tags %}
3
4 {% block contenu %}
5 {% autopaginate sites 10 %}
6
7 <ul class="actions">
8 <li><a href="{% url aide %}#sitotheque">Aide</a></li>
9 {% include "sites/actions.html" %}
10 </ul>
11 <h1>Sites &#8212; Sitothèque</h1>
12
13 <h2>Recherche</h2>
14
15 <form method="get" action="">
16 <table id="repertoire_recherche">
17 {{search_form.as_table}}
18 <tr><th></th><td><input type="submit" class="bouton" value="Rechercher" /></td></tr>
19 </table>
20 </form>
21
22 <h2>Résultats</h2>
23 <div class="sous-titre">{{nb_sites}} site{{ nb_sites|pluralize }} correspondant à votre recherche</div>
24
25 <div class="pagination">{% paginate %}</div>
26 {% for site in sites %}
27 {% include "sites/resultat.html" %}
28 {% endfor %}
29 <div class="pagination">{% paginate %}</div>
30 {% endblock %}