From d6e03b84fbf83ed8855997dbe71b8c58cd8a2eac Mon Sep 17 00:00:00 2001 From: Dalahro Date: Sun, 3 Jul 2016 01:37:58 +0200 Subject: [PATCH] Barre de recherche fonctionnelle --- search/templates/search/index.html | 10 ++++++++++ search/templates/search/search.html | 2 +- templates/base.html | 7 ++++--- users/__pycache__/views.cpython-34.pyc | Bin 4798 -> 5081 bytes users/views.py | 5 +++++ 5 files changed, 20 insertions(+), 4 deletions(-) diff --git a/search/templates/search/index.html b/search/templates/search/index.html index bf02d7c8..13b6afc6 100644 --- a/search/templates/search/index.html +++ b/search/templates/search/index.html @@ -51,6 +51,7 @@ Prix unitaire Moyen de paiement Date + {% for facture in facture_list %} @@ -61,6 +62,7 @@ {{ facture.prix }} {{ facture.paiement }} {{ facture.date }} + Editer {% endfor %} @@ -74,6 +76,7 @@ Raison Date de début Date de fin + {% for ban in ban_list %} @@ -82,9 +85,16 @@ {{ ban.raison }} {{ ban.date_start }} {{ ban.date_end }} + Editer {% endfor %} {% endif %} + {% if not ban_list and not machine_list and not users_list and not facture_list%} +

Aucun résultat

+ {% endif %} +
+
+
{% endblock %} diff --git a/search/templates/search/search.html b/search/templates/search/search.html index 063ee55d..511f8eba 100644 --- a/search/templates/search/search.html +++ b/search/templates/search/search.html @@ -1,4 +1,4 @@ -{% extends "search/sidebar.html" %} +{% extends "users/sidebar.html" %} {% load bootstrap3 %} {% block title %}Création et modification d'utilisateur{% endblock %} diff --git a/templates/base.html b/templates/base.html index a746be2c..8142bc93 100644 --- a/templates/base.html +++ b/templates/base.html @@ -34,14 +34,15 @@
  • Statistiques