From 8cd7ed1a547bcf5ec7966bd4952f04518c35455e Mon Sep 17 00:00:00 2001 From: Yoann Pietri Date: Wed, 7 Mar 2018 11:45:03 +0100 Subject: [PATCH] Modification de la navbar et passage sous font awesome --- .../templates/cotisations/aff_article.html | 4 ++-- .../templates/cotisations/aff_banque.html | 4 ++-- .../cotisations/aff_cotisations.html | 8 +++---- .../templates/cotisations/aff_paiement.html | 4 ++-- .../templates/cotisations/control.html | 4 ++-- .../templates/cotisations/index_article.html | 4 ++-- .../templates/cotisations/index_banque.html | 4 ++-- .../templates/cotisations/index_paiement.html | 4 ++-- .../templates/cotisations/new_facture.html | 4 ++-- .../cotisations/new_facture_solde.html | 4 ++-- .../templates/cotisations/sidebar.html | 12 +++++----- logs/templates/logs/aff_stats_logs.html | 2 +- logs/templates/logs/aff_summary.html | 10 ++++---- logs/templates/logs/sidebar.html | 12 +++++----- machines/templates/machines/aff_machines.html | 18 +++++++------- machines/templates/machines/index_alias.html | 4 ++-- .../templates/machines/index_extension.html | 24 +++++++++---------- machines/templates/machines/index_iptype.html | 4 ++-- machines/templates/machines/index_ipv6.html | 2 +- .../templates/machines/index_machinetype.html | 4 ++-- machines/templates/machines/index_nas.html | 4 ++-- .../templates/machines/index_portlist.html | 4 ++-- .../templates/machines/index_service.html | 4 ++-- machines/templates/machines/index_vlan.html | 4 ++-- machines/templates/machines/sidebar.html | 16 ++++++------- .../preferences/display_preferences.html | 16 ++++++------- search/templates/search/sidebar.html | 4 ++-- templates/base.html | 10 ++++---- templates/buttons/add.html | 2 +- templates/buttons/edit.html | 2 +- templates/buttons/history.html | 2 +- templates/buttons/sort.html | 8 +++---- templates/buttons/suppr.html | 2 +- .../templates/topologie/aff_chambres.html | 6 ++--- .../topologie/aff_constructor_switch.html | 6 ++--- .../templates/topologie/aff_model_switch.html | 6 ++--- topologie/templates/topologie/aff_port.html | 6 ++--- topologie/templates/topologie/aff_stacks.html | 12 +++++----- .../templates/topologie/edit_stack_sw.html | 6 ++--- topologie/templates/topologie/index.html | 2 +- .../topologie/index_model_switch.html | 4 ++-- topologie/templates/topologie/index_p.html | 6 ++--- topologie/templates/topologie/index_room.html | 2 +- .../templates/topologie/index_stack.html | 2 +- topologie/templates/topologie/sidebar.html | 8 +++---- users/templates/users/aff_clubs.html | 10 ++++---- users/templates/users/aff_listright.html | 2 +- users/templates/users/aff_users.html | 8 +++---- users/templates/users/index_listright.html | 4 ++-- users/templates/users/index_schools.html | 4 ++-- users/templates/users/index_serviceusers.html | 2 +- users/templates/users/profil.html | 18 +++++++------- users/templates/users/sidebar.html | 20 ++++++++-------- 53 files changed, 175 insertions(+), 173 deletions(-) diff --git a/cotisations/templates/cotisations/aff_article.html b/cotisations/templates/cotisations/aff_article.html index f4880caf..833b7de0 100644 --- a/cotisations/templates/cotisations/aff_article.html +++ b/cotisations/templates/cotisations/aff_article.html @@ -45,11 +45,11 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit article %} - + {% acl_end %} - + diff --git a/cotisations/templates/cotisations/aff_banque.html b/cotisations/templates/cotisations/aff_banque.html index f31bf55a..1ef4cb76 100644 --- a/cotisations/templates/cotisations/aff_banque.html +++ b/cotisations/templates/cotisations/aff_banque.html @@ -37,11 +37,11 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit banque %} - + {% acl_end %} - + diff --git a/cotisations/templates/cotisations/aff_cotisations.html b/cotisations/templates/cotisations/aff_cotisations.html index 2e6eea3f..b73bc107 100644 --- a/cotisations/templates/cotisations/aff_cotisations.html +++ b/cotisations/templates/cotisations/aff_cotisations.html @@ -57,21 +57,21 @@ with this program; if not, write to the Free Software Foundation, Inc., {% if facture.valid %} - + PDF {% else %} diff --git a/cotisations/templates/cotisations/aff_paiement.html b/cotisations/templates/cotisations/aff_paiement.html index f2f9abe3..09e5acc3 100644 --- a/cotisations/templates/cotisations/aff_paiement.html +++ b/cotisations/templates/cotisations/aff_paiement.html @@ -37,11 +37,11 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit paiement %} - + {% acl_end %} - + diff --git a/cotisations/templates/cotisations/control.html b/cotisations/templates/cotisations/control.html index baa4938e..48071429 100644 --- a/cotisations/templates/cotisations/control.html +++ b/cotisations/templates/cotisations/control.html @@ -55,8 +55,8 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for form in controlform.forms %} {% bootstrap_form_errors form %} - - + + {{ form.instance.user.name }} {{ form.instance.user.surname }} diff --git a/cotisations/templates/cotisations/index_article.html b/cotisations/templates/cotisations/index_article.html index edc71c09..7803c2ca 100644 --- a/cotisations/templates/cotisations/index_article.html +++ b/cotisations/templates/cotisations/index_article.html @@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block content %}

Liste des types d'articles

{% can_create Article %} - Ajouter un type d'articles + Ajouter un type d'articles {% acl_end %} - Supprimer un ou plusieurs types d'articles + Supprimer un ou plusieurs types d'articles {% include "cotisations/aff_article.html" with article_list=article_list %}

diff --git a/cotisations/templates/cotisations/index_banque.html b/cotisations/templates/cotisations/index_banque.html index dda89843..77c23977 100644 --- a/cotisations/templates/cotisations/index_banque.html +++ b/cotisations/templates/cotisations/index_banque.html @@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block content %}

Liste des banques

{% can_create Banque %} - Ajouter une banque + Ajouter une banque {% acl_end %} - Supprimer une ou plusieurs banques + Supprimer une ou plusieurs banques {% include "cotisations/aff_banque.html" with banque_list=banque_list %}

diff --git a/cotisations/templates/cotisations/index_paiement.html b/cotisations/templates/cotisations/index_paiement.html index a27cb824..414c6b38 100644 --- a/cotisations/templates/cotisations/index_paiement.html +++ b/cotisations/templates/cotisations/index_paiement.html @@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block content %}

Liste des types de paiements

{% can_create Paiement %} - Ajouter un type de paiement + Ajouter un type de paiement {% acl_end %} - Supprimer un ou plusieurs types de paiements + Supprimer un ou plusieurs types de paiements {% include "cotisations/aff_paiement.html" with paiement_list=paiement_list %}

diff --git a/cotisations/templates/cotisations/new_facture.html b/cotisations/templates/cotisations/new_facture.html index c1206aa2..10aa69fd 100644 --- a/cotisations/templates/cotisations/new_facture.html +++ b/cotisations/templates/cotisations/new_facture.html @@ -49,7 +49,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,   {% endfor %} @@ -73,7 +73,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,   ` function add_article(){ diff --git a/cotisations/templates/cotisations/new_facture_solde.html b/cotisations/templates/cotisations/new_facture_solde.html index 2efd8e81..2c06fdb0 100644 --- a/cotisations/templates/cotisations/new_facture_solde.html +++ b/cotisations/templates/cotisations/new_facture_solde.html @@ -46,7 +46,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,   {% endfor %} @@ -70,7 +70,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,   ` function add_article(){ diff --git a/cotisations/templates/cotisations/sidebar.html b/cotisations/templates/cotisations/sidebar.html index 3506e5e8..513eb60b 100644 --- a/cotisations/templates/cotisations/sidebar.html +++ b/cotisations/templates/cotisations/sidebar.html @@ -28,35 +28,35 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block sidebar %} {% can_change Facture pdf %} - + Créer une facture - + Contrôler les factures {% acl_end %} {% can_view_all Facture %} - + Factures {% acl_end %} {% can_view_all Article %} - + Articles en vente {% acl_end %} {% can_view_all Banque %} - + Banques {% acl_end %} {% can_view_all Paiement %} - + Moyens de paiement {% acl_end %} diff --git a/logs/templates/logs/aff_stats_logs.html b/logs/templates/logs/aff_stats_logs.html index be0b5a41..77e9e9b4 100644 --- a/logs/templates/logs/aff_stats_logs.html +++ b/logs/templates/logs/aff_stats_logs.html @@ -51,7 +51,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit_history %} - + Annuler diff --git a/logs/templates/logs/aff_summary.html b/logs/templates/logs/aff_summary.html index c6eca27b..f743d637 100644 --- a/logs/templates/logs/aff_summary.html +++ b/logs/templates/logs/aff_summary.html @@ -54,7 +54,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit_history %} - + Annuler @@ -77,7 +77,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit_history%} - + Annuler @@ -96,7 +96,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit_history %} - + Annuler @@ -115,7 +115,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit_history %} - + Annuler @@ -134,7 +134,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit_history %} - + Annuler diff --git a/logs/templates/logs/sidebar.html b/logs/templates/logs/sidebar.html index fe7e63e7..0e3048e3 100644 --- a/logs/templates/logs/sidebar.html +++ b/logs/templates/logs/sidebar.html @@ -28,27 +28,27 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block sidebar %} {% can_view_app logs %} - + Résumé - + Évènements - + Général - + Base de données - + Actions de cablage - + Utilisateurs {% acl_end %} diff --git a/machines/templates/machines/aff_machines.html b/machines/templates/machines/aff_machines.html index dbb3e40d..c286fcd6 100644 --- a/machines/templates/machines/aff_machines.html +++ b/machines/templates/machines/aff_machines.html @@ -46,9 +46,9 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for machine in machines_list %} - {{ machine.name|default:'Pas de nom' }} + {{ machine.name|default:'Pas de nom' }} - {{ machine.user }} + {{ machine.user }} @@ -92,7 +92,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,