Merge branch 'master' of gitosis@git.auf:auf_savoirs_en_partage_django
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / savoirs / sites_auf.html
CommitLineData
0b1ddc11
EMS
1{% extends "container_base.html" %}
2
3{% block contenu %}
4<script>
5 $(document).ready(function(){
6 makePageLinks ({{ page|default:0 }}, {{ data.last_page|default:0 }},
7 '{{ data.more_link }}');
8 });
9</script>
10
11<h4>Sites &#8212; Sites AUF</h4>
12<div class="zone-texte">
13 <form method="get" action="" class="contenu-wrapper">
14 <p style="margin-top: 10px;"><input type="text" size="40" name="q" value="{{ google_q|default:""}}" /><input type="submit" name="" value="Chercher" /></p>
15 </form>
16
17 {% if data %}
18 <div id="results">
19 {% for r in data.results %}
184f139f 20 {% include "savoirs/sites_auf_resultat.html" %}
0b1ddc11
EMS
21 {% empty %}
22 <div class="resultatRecherche">
23 <h2>Aucun résultat trouvé</h2>
24 </div>
25 {% endfor %}
26 </div>
27 <div class="resultatPages">
28 <span id="pageLinks">
29 </span>
30 </div>
31 {% endif %}
32</div>
33{% endblock %}