@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des types d'articles</h2>
{% can_create Article %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'cotisations:add-article' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un type d'articles</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'cotisations:add-article' %}"><iclass="fa fa-cart-plus"></i> Ajouter un type d'articles</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'cotisations:del-article' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs types d'articles</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'cotisations:del-article' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs types d'articles</a>
{% include "cotisations/aff_article.html" with article_list=article_list %}
@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des banques</h2>
{% can_create Banque %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'cotisations:add-banque' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter une banque</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'cotisations:add-banque' %}"><iclass="fa fa-cart-plus"></i> Ajouter une banque</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'cotisations:del-banque' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer une ou plusieurs banques</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'cotisations:del-banque' %}"><iclass="fa fa-trash"></i> Supprimer une ou plusieurs banques</a>
{% include "cotisations/aff_banque.html" with banque_list=banque_list %}
@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des types de paiements</h2>
{% can_create Paiement %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'cotisations:add-paiement' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un type de paiement</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'cotisations:add-paiement' %}"><iclass="fa fa-cart-plus"></i> Ajouter un type de paiement</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'cotisations:del-paiement' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs types de paiements</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'cotisations:del-paiement' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs types de paiements</a>
{% include "cotisations/aff_paiement.html" with paiement_list=paiement_list %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-alias' interface_id %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs alias</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-alias' interface_id %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs alias</a>
{% include "machines/aff_alias.html" with alias_list=alias_list %}
@ -32,40 +32,40 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des extensions</h2>
{% can_create Extension %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-extension' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter une extension</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-extension' %}"><iclass="fa fa-plus"></i> Ajouter une extension</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-extension' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer une ou plusieurs extensions</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-extension' %}"><iclass="fa fa-trash"></i> Supprimer une ou plusieurs extensions</a>
{% include "machines/aff_extension.html" with extension_list=extension_list %}
@ -32,9 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des types d'ip</h2>
{% can_create IpType %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-iptype' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un type d'ip</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-iptype' %}"><iclass="fa fa-plus"></i> Ajouter un type d'ip</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-iptype' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs types d'ip</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-iptype' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs types d'ip</a>
{% include "machines/aff_iptype.html" with iptype_list=iptype_list %}
@ -32,9 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des types de machines</h2>
{% can_create MachineType %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-machinetype' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un type de machine</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-machinetype' %}"><iclass="fa fa-plus"></i> Ajouter un type de machine</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-machinetype' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs types de machines</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-machinetype' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs types de machines</a>
{% include "machines/aff_machinetype.html" with machinetype_list=machinetype_list %}
@ -34,9 +34,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<h5>La correpondance nas-machinetype relie le type de nas à un type de machine.
Elle est utile pour l'autoenregistrement des macs par radius, et permet de choisir le type de machine à affecter aux machines en fonction du type de nas</h5>
{% can_create Nas %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-nas' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un type de nas</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-nas' %}"><iclass="fa fa-plus"></i> Ajouter un type de nas</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-nas' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs types nas</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-nas' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs types nas</a>
{% include "machines/aff_nas.html" with nas_list=nas_list %}
@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des services</h2>
{% can_create machines.Service %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-service' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un service</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-service' %}"><iclass="fa fa-plus"></i> Ajouter un service</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-service' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs service</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-service' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs service</a>
{% include "machines/aff_service.html" with service_list=service_list %}
<h2>Etat des serveurs</h2>
{% include "machines/aff_servers.html" with servers_list=servers_list %}
@ -32,9 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des vlans</h2>
{% can_create Vlan %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-vlan' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un vlan</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'machines:add-vlan' %}"><iclass="fa fa-plus"></i> Ajouter un vlan</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-vlan' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs vlan</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'machines:del-vlan' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs vlan</a>
{% include "machines/aff_vlan.html" with vlan_list=vlan_list %}
@ -209,9 +209,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</table>
<h2>Liste des services page d'accueil</h2>
{% can_create preferences.Service%}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'preferences:add-service' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un service</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'preferences:add-service' %}"><iclass="fa fa-plus"></i> Ajouter un service</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'preferences:del-services' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs service</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'preferences:del-services' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs service</a>
{% include "preferences/aff_service.html" with service_list=service_list %}
@ -31,9 +31,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% block content %}
<h2>Liste des droits</h2>
{% can_create ListRight %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'users:add-listright' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un droit ou groupe</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'users:add-listright' %}"><iclass="fa fa-plus"></i> Ajouter un droit ou groupe</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'users:del-listright' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs droits/groupes</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'users:del-listright' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs droits/groupes</a>
{% include "users/aff_listright.html" with listright_list=listright_list %}
@ -32,9 +32,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<h2>Liste des Établissements</h2>
<h5>Ensemble des établissements d'enseignement ou d'activité des utilisateurs crées</h5>
{% can_create School %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'users:add-school' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un établissement</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'users:add-school' %}"><iclass="fa fa-plus"></i> Ajouter un établissement</a>
{% acl_end %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'users:del-school' %}"><iclass="glyphicon glyphicon-trash"></i> Supprimer un ou plusieurs établissements</a>
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'users:del-school' %}"><iclass="fa fa-trash"></i> Supprimer un ou plusieurs établissements</a>
{% include "users/aff_schools.html" with school_list=school_list %}
@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<h5>Les service users LDAP sont des utilisateurs spéciaux qui disposent d'un accès uniquement sur le ldap pour effectuer des opération d'authentification.
Il est recommandé de créer un service-user doté d'un login/mdp par service concerné</h5>
{% can_create ServiceUser %}
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'users:new-serviceuser' %}"><iclass="glyphicon glyphicon-plus"></i> Ajouter un service user</a>
<aclass="btn btn-primary btn-sm"role="button"href="{% url 'users:new-serviceuser' %}"><iclass="fa fa-plus"></i> Ajouter un service user</a>
{% acl_end %}
{% include "users/aff_serviceusers.html" with serviceusers_list=serviceusers_list %}