index.html 2.01 KB
Newer Older
Med's avatar
Med committed
1
{% extends "search/sidebar.html" %}
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
{% comment %}
Re2o est un logiciel d'administration développé initiallement au rezometz. Il
se veut agnostique au réseau considéré, de manière à être installable en
quelques clics.

Copyright © 2017  Gabriel Détraz
Copyright © 2017  Goulven Kermarec
Copyright © 2017  Augustin Lemesle

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
{% endcomment %}

{% load bootstrap3 %}

Med's avatar
Med committed
28
{% block title %}Résultats de la recherche{% endblock %}
29 30

{% block content %}
Med's avatar
Med committed
31 32 33 34 35 36 37 38 39 40 41 42
    {% if users_list %}
    <h2>Résultats dans les utilisateurs</h2>
        {% include "users/aff_users.html" with users_list=users_list %}
    {% endif%}
    {% if emprunts_list %}
    <h2>Résultats dans les emprunt : </h2>
        {% include "media/aff_emprunts.html" with emprunts_list=emprunts_list %}
    {% endif %}
    {% if medias_list %}
    <h2>Résultats dans les media : </h2>
        {% include "media/aff_medias.html" with medias_list=medias_list %}
    {% endif %}
Med's avatar
Med committed
43 44 45 46 47
    {% if jeux_list %}
     <h2>Résultats dans les jeux : </h2>
        {% include "media/aff_jeux.html" with jeux_list=jeux_list %}
    {% endif %}
    {% if not users_list and not emprunts_list and not medias_list and not jeux_list %}
Med's avatar
Med committed
48 49 50
        <h3>Aucun résultat</h3>
    {% endif %}
    <h6>(Seulement les {{ max_result }} premiers résultats sont affichés dans chaque catégorie)</h6>
51 52 53 54
    <br />
    <br />
    <br />
{% endblock %}