@ -25,198 +25,201 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% load bootstrap3 %}
{% load acl %}
{% load design %}
{% block title %}Création et modification des préférences{% endblock %}
{% block content %}
< h4 > Préférences utilisateur< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'OptionalUser' %}" >
< h4 > Préférences utilisateur< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'OptionalUser' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Téléphone obligatoirement requis< / th >
< td > {{ useroptions.is_tel_mandatory }}< / td >
< th > Champ gpg fingerprint< / th >
< td > {{ useroptions.gpg_fingerprint }}< / td >
< / tr >
< tr >
< th > Creations d'adhérents par tous< / th >
< td > {{ useroptions.all_can_create_adherent }}< / td >
< th > Creations de clubs par tous< / th >
< td > {{ useroptions.all_can_create_club }}< / td >
< / tr >
< tr >
< th > Auto inscription< / th >
< td > {{ useroptions.self_adhesion }}< / td >
< th > Shell par défaut des utilisateurs< / th >
< td > {{ useroptions.shell_default }}< / td >
< / tr >
< / table >
< h4 > Préférences machines< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'OptionalMachine' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Mot de passe par machine< / th >
< td > {{ machineoptions.password_machine }}< / td >
< th > Machines/interfaces autorisées par utilisateurs< / th >
< td > {{ machineoptions.max_lambdauser_interfaces }}< / td >
< / tr >
< tr >
< th > Alias dns autorisé par utilisateur< / th >
< td > {{ machineoptions.max_lambdauser_aliases }}< / td >
< th > Support de l'ipv6< / th >
< td > {{ machineoptions.ipv6_mode }}< / td >
< / tr >
< tr >
< th > Creation de machines< / th >
< td > {{ machineoptions.create_machine }}< / td >
< / tr >
< / table >
< h4 > Préférences topologie< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'OptionalTopologie' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Politique générale de placement de vlan< / th >
< td > {{ topologieoptions.radius_general_policy }}< / td >
< th > Ce réglage défini la politique vlan après acceptation radius : soit sur le vlan de la plage d'ip de la machine, soit sur un vlan prédéfini dans "Vlan où placer les machines après acceptation RADIUS"< / th >
< td > < / td >
< / tr >
< tr >
< th > Vlan où placer les machines après acceptation RADIUS< / th >
< td > {{ topologieoptions.vlan_decision_ok }}< / td >
< th > Vlan où placer les machines après rejet RADIUS< / th >
< td > {{ topologieoptions.vlan_decision_nok }}< / td >
< / tr >
< / table >
< h4 > Préférences generales< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'GeneralOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Nom du site web< / th >
< td > {{ generaloptions.site_name }}< / td >
< th > Adresse mail d'expedition automatique< / th >
< td > {{ generaloptions.email_from }}< / td >
< / tr >
< tr >
< th > Affichage de résultats dans le champ de recherche< / th >
< td > {{ generaloptions.search_display_page }}< / td >
< th > Nombre d'items affichés en liste (taille normale)< / th >
< td > {{ generaloptions.pagination_number }}< / td >
< / tr >
< tr >
< th > Nombre d'items affichés en liste (taille élevée)< / th >
< td > {{ generaloptions.pagination_large_number }}< / td >
< th > Temps avant expiration du lien de reinitialisation de mot de passe (en heures)< / th >
< td > {{ generaloptions.req_expire_hrs }}< / td >
< / tr >
< tr >
< th > Message global affiché sur le site< / th >
< td > {{ generaloptions.general_message }}< / td >
< th > Résumé des CGU< / th >
< td > {{ generaloptions.GTU_sum_up }}< / td >
< tr >
< tr >
< th > CGU< / th >
< td > {{generaloptions.GTU}}< / th >
< / tr >
< / table >
< h4 > Données de l'association< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'AssoOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Nom< / th >
< td > {{ assooptions.name }}< / td >
< th > SIRET< / th >
< td > {{ assooptions.siret }}< / td >
< / tr >
< tr >
< th > Adresse< / th >
< td > {{ assooptions.adresse1 }}< br >
{{ assooptions.adresse2 }}< / td >
< th > Contact mail< / th >
< td > {{ assooptions.contact }}< / td >
< / tr >
< tr >
< th > Telephone< / th >
< td > {{ assooptions.telephone }}< / td >
< th > Pseudo d'usage< / th >
< td > {{ assooptions.pseudo }}< / td >
< / tr >
< tr >
< th > Objet utilisateur de l'association< / th >
< td > {{ assooptions.utilisateur_asso }}< / td >
< th > Description de l'association< / th >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Téléphone obligatoirement requis< / th >
< td > {{ useroptions.is_tel_mandatory|tick }}< / td >
< th > Auto inscription< / th >
< td > {{ useroptions.self_adhesion|tick }}< / td >
< / tr >
< tr >
< th > Champ gpg fingerprint< / th >
< td > {{ useroptions.gpg_fingerprint|tick }}< / td >
< th > Shell par défaut des utilisateurs< / th >
< td > {{ useroptions.shell_default }}< / td >
< / tr >
< tr >
< th > Creations d'adhérents par tous< / th >
< td > {{ useroptions.all_can_create_adherent|tick }}< / td >
< th > Creations de clubs par tous< / th >
< td > {{ useroptions.all_can_create_club|tick }}< / td >
< / tr >
< / table >
< h4 > Préférences machines< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'OptionalMachine' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Mot de passe par machine< / th >
< td > {{ machineoptions.password_machine|tick }}< / td >
< th > Machines/interfaces autorisées par utilisateurs< / th >
< td > {{ machineoptions.max_lambdauser_interfaces }}< / td >
< / tr >
< tr >
< th > Alias dns autorisé par utilisateur< / th >
< td > {{ machineoptions.max_lambdauser_aliases }}< / td >
< th > Support de l'ipv6< / th >
< td > {{ machineoptions.ipv6_mode }}< / td >
< / tr >
< tr >
< th > Creation de machines< / th >
< td > {{ machineoptions.create_machine|tick }}< / td >
< / tr >
< / table >
< h4 > Préférences topologie< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'OptionalTopologie' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Politique générale de placement de vlan< / th >
< td > {{ topologieoptions.radius_general_policy }}< / td >
< th > Ce réglage défini la politique vlan après acceptation radius : soit sur le vlan de la plage d'ip de la machine, soit sur un vlan prédéfini dans "Vlan où placer les machines après acceptation RADIUS"< / th >
< td > < / td >
< / tr >
< tr >
< th > Vlan où placer les machines après acceptation RADIUS< / th >
< td > {{ topologieoptions.vlan_decision_ok }}< / td >
< th > Vlan où placer les machines après rejet RADIUS< / th >
< td > {{ topologieoptions.vlan_decision_nok }}< / td >
< / tr >
< / table >
< h4 > Préférences generales< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'GeneralOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Nom du site web< / th >
< td > {{ generaloptions.site_name }}< / td >
< th > Adresse mail d'expedition automatique< / th >
< td > {{ generaloptions.email_from }}< / td >
< / tr >
< tr >
< th > Affichage de résultats dans le champ de recherche< / th >
< td > {{ generaloptions.search_display_page }}< / td >
< th > Nombre d'items affichés en liste (taille normale)< / th >
< td > {{ generaloptions.pagination_number }}< / td >
< / tr >
< tr >
< th > Nombre d'items affichés en liste (taille élevée)< / th >
< td > {{ generaloptions.pagination_large_number }}< / td >
< th > Temps avant expiration du lien de reinitialisation de mot de passe (en heures)< / th >
< td > {{ generaloptions.req_expire_hrs }}< / td >
< / tr >
< tr >
< th > Message global affiché sur le site< / th >
< td > {{ generaloptions.general_message }}< / td >
< th > Résumé des CGU< / th >
< td > {{ generaloptions.GTU_sum_up }}< / td >
< tr >
< tr >
< th > CGU< / th >
< td > {{generaloptions.GTU}}< / th >
< / tr >
< / table >
< h4 > Données de l'association< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'AssoOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Nom< / th >
< td > {{ assooptions.name }}< / td >
< th > SIRET< / th >
< td > {{ assooptions.siret }}< / td >
< / tr >
< tr >
< th > Adresse< / th >
< td > {{ assooptions.adresse1 }}< br >
{{ assooptions.adresse2 }}< / td >
< th > Contact mail< / th >
< td > {{ assooptions.contact }}< / td >
< / tr >
< tr >
< th > Telephone< / th >
< td > {{ assooptions.telephone }}< / td >
< th > Pseudo d'usage< / th >
< td > {{ assooptions.pseudo }}< / td >
< / tr >
< tr >
< th > Objet utilisateur de l'association< / th >
< td > {{ assooptions.utilisateur_asso }}< / td >
< th > Description de l'association< / th >
< td > {{ assooptions.description | safe }}< / td >
< / tr >
< / tr >
< / table >
< h4 > Messages personalisé dans les mails< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'MailMessageOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Mail de bienvenue (Français)< / th >
< td > {{ mailmessageoptions.welcome_mail_fr | safe }}< / td >
< / tr >
< tr >
< th > Mail de bienvenue (Anglais)< / th >
< td > {{ mailmessageoptions.welcome_mail_en | safe }}< / td >
< / tr >
< / table >
< h2 > Liste des services et préférences page d'accueil< / h2 >
{% can_create preferences.Service%}
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:add-service' %}" > < i class = "fa fa-plus" > < / i > Ajouter un service< / a >
{% acl_end %}
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'preferences:del-services' %}" > < i class = "fa fa-trash" > < / i > Supprimer un ou plusieurs service< / a >
{% include "preferences/aff_service.html" with service_list=service_list %}
< / table >
< h4 > Messages personalisé dans les mails< / h4 >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'MailMessageOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< / p >
< table class = "table table-striped" >
< tr >
< th > Mail de bienvenue (Français)< / th >
< td > {{ mailmessageoptions.welcome_mail_fr | safe }}< / td >
< / tr >
< tr >
< th > Mail de bienvenue (Anglais)< / th >
< td > {{ mailmessageoptions.welcome_mail_en | safe }}< / td >
< / tr >
< / table >
< h2 > Liste des services et préférences page d'accueil< / h2 >
{% can_create preferences.Service%}
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:add-service' %}" > < i class = "fa fa-plus" > < / i > Ajouter un service< / a >
{% acl_end %}
< a class = "btn btn-danger btn-sm" role = "button" href = "{% url 'preferences:del-services' %}" > < i class = "fa fa-trash" > < / i > Supprimer un ou plusieurs service< / a >
{% include "preferences/aff_service.html" with service_list=service_list %}
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'HomeOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< a class = "btn btn-primary btn-sm" role = "button" href = "{% url 'preferences:edit-options' 'HomeOption' %}" >
< i class = "fa fa-edit" > < / i >
Editer
< / a >
< p >
< table class = "table table-striped" >
< table class = "table table-striped" >
< tr >
< th > Url du compte twitter< / th >
< td > {{ homeoptions.twitter_url }}< / td >
< th > Nom utilisé pour afficher le compte< / th >
< td > {{ homeoptions.twitter_account_name }}< / td >
< th > Url du compte twitter< / th >
< td > {{ homeoptions.twitter_url }}< / td >
< th > Nom utilisé pour afficher le compte< / th >
< td > {{ homeoptions.twitter_account_name }}< / td >
< / tr >
< tr >
< th > Url du compte facebook< / th >
< td > {{ homeoptions.facebook_url }}< / td >
< th > Url du compte facebook< / th >
< td > {{ homeoptions.facebook_url }}< / td >
< / tr >
< / table >
< br / >
< br / >
< br / >
< / table >
< br / >
< br / >
< br / >
{% endblock %}