diff --git a/build/generic/view/group/member/choice/main.twig b/build/generic/view/group/member/choice/main.twig index 4679099..fd3bd43 100644 --- a/build/generic/view/group/member/choice/main.twig +++ b/build/generic/view/group/member/choice/main.twig @@ -1,50 +1,87 @@ -Modifier un autre groupe -

+{% block back %} -
- - + Modifier un autre groupe +

-
+{% endblock %} - {# USER HEADER #} - {% if core.class == 0 %} - Identifiant - Nom - Code RFID - {# MACHINE HEADER #} - {% else %} - Nom - {% endif %} - Membre de {{ core.name }} -
+{% block container %} +
- {% for member in core.get_members(core.id_cluster, core.class) %} + {% block hidden %} - {# USER ENTRIES #} - {% if core.class == 0 %} -
- {{ member.username }} - {{ member.firstname }} {{ member.lastname }} - {{ member.code }} - - - - + + -
- {# MACHINE ENTRIES #} - {% else %} -
- {{ member.name }} - - - - + {% endblock %} -
- {% endif %} + {% block header %} - {% endfor %} -
+
+ + {# USER HEADER #} + {% if core.class == 0 %} + Identifiant + Nom + Code RFID + {# MACHINE HEADER #} + {% else %} + Nom + {% endif %} + Membre de {{ core.name }} + +
+ + {% endblock %} + + {% block member_list %} + + {% for member in core.get_members(core.id_cluster, core.class) %} + + {% block member_entry %} + + {# USER ENTRIES #} + {% if core.class == 0 %} + {% block user_entry %} + +
+ {{ member.username }} + {{ member.firstname }} {{ member.lastname }} + {{ member.code }} + + + + + +
+ + {% endblock %} + + {# MACHINE ENTRIES #} + {% else %} + + {% block machine_entry %} + +
+ {{ member.name }} + + + + + +
+ + {% endblock %} + + {% endif %} + + {% endblock %} + + {% endfor %} + + {% endblock %} + +
+ +{% endblock %} diff --git a/build/generic/view/group/member/group/main.twig b/build/generic/view/group/member/group/main.twig index 800ed3b..3bbd941 100644 --- a/build/generic/view/group/member/group/main.twig +++ b/build/generic/view/group/member/group/main.twig @@ -1,16 +1,26 @@ -
- + - + {% for user_cluster in core.get_clusters(0) %} + + {% endfor %} + + {% for machine_cluster in core.get_clusters(1) %} + + {% endfor %} + + + + {% endblock %} + + {% block submit %} + + + + {% endblock %} -