Embryon de recherche pour les ressources.
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / savoirs / ressource_index.html
CommitLineData
588d6b93 1{% extends "container_base.html" %}
2
2e7bc859 3{% load pagination_tags %}
2e7bc859 4
588d6b93 5{% block contenu %}
f8c16b3d 6<h4>Ressources</h4>
5df13228 7{% autopaginate ressources %}
2e7bc859 8<div class="contenu-wrapper">
da44ce68
EMS
9 <form action="" method="get">
10 {{ search_form }}
11 <input type="submit" value="Rechercher" />
12 </form>
13 <div class="centre">{% paginate %}</div>
14 <table id="repertoire">
2e7bc859 15 <tr>
da44ce68
EMS
16 <th>Nom</th>
17 <th>Source</th>
2e7bc859 18 </tr>
da44ce68 19 {% for r in ressources %}
2e7bc859 20 <tr class="{% cycle 'odd' 'notodd' %}">
da44ce68
EMS
21 <td><a href="{% url savoirs.views.ressource_retrieve r.id %}" class="le-titre">{{ r.title|truncatewords:11 }}</a></td>
22 <td>{{ r.server }}</td>
2e7bc859 23 </tr>
da44ce68
EMS
24 {% endfor %}
25 </table>
26 <div class="centre">{% paginate %}</div>
2e7bc859 27</div>
588d6b93 28{% endblock %}