diff --git a/build/generic/view/machine/view/main.twig b/build/generic/view/machine/view/main.twig
index ee018ce..2c1c82b 100644
--- a/build/generic/view/machine/view/main.twig
+++ b/build/generic/view/machine/view/main.twig
@@ -22,14 +22,18 @@
{{ core.icon.group | raw }}
-
- {% for cluster in core.get_clusters(machine.id_machine) %}
-
- {{ cluster.name }}
-
-
- {% endfor %}
-
+ {% block group_list %}
+
+
+ {% for cluster in core.get_clusters(machine.id_machine) %}
+
+ {% block group_name %} {{ cluster.name }} {% endblock %}
+
+
+ {% endfor %}
+
+
+ {% endblock %}
+
@@ -43,9 +47,14 @@
{# if no result #}
{% else %}
-
- Aucune machine trouvée
-
+ {% block no_result %}
+
+
+ Aucune machine trouvée
+
+
+ {% endblock %}
+
{% endfor %}
{% endblock %}
\ No newline at end of file
diff --git a/build/generic/view/user/view/main.twig b/build/generic/view/user/view/main.twig
index 4cd8f99..c18310d 100644
--- a/build/generic/view/user/view/main.twig
+++ b/build/generic/view/user/view/main.twig
@@ -1,53 +1,80 @@
-
+{% block search_bar %} {% endblock %}
-{% for user in core.get_users() %}
+{% block user_list %}
-
+ {% for user in core.get_users() %}
- {{ user.firstname }} {{ user.lastname }} #{{ user.username }}
- {{ core.icon.remove | raw }}
+ {% block user_card %}
- {{ core.icon.edit | raw }}
+ {% block card_tag %} {% endblock %}
-
- {{ core.icon.card | raw }}
- {{ user.code }}
-
+ {% block card_title %} {{ user.firstname }} {{ user.lastname }} #{{ user.username }} {% endblock %}
-
- {{ core.icon.mail | raw }}
+ {% block card_remove %} {{ core.icon.remove | raw }} {% endblock %}
+ {% block card_edit %} {{ core.icon.edit | raw }} {% endblock %}
-
- {{ user.mail }}
-
-
+ {% block card_code %}
-
- {{ core.icon.group | raw }}
-
-
- {% for cluster in core.get_clusters(user.id_user) %}
-
-
-
- {{ cluster.name }}
-
+
+ {{ core.icon.card | raw }}
+ {{ user.code }}
- {% endfor %}
-
+ {% endblock %}
- +
+ {% block card_mail %}
-
+
+ {{ core.icon.mail | raw }}
-
+
+ {{ user.mail }}
+
+
-{# if no result #}
-{% else %}
+ {% endblock %}
-
- Aucun utilisateur trouvé
-
+ {% block card_groups %}
-{% endfor %}
+
+ {{ core.icon.group | raw }}
+
+ {% block group_list %}
+
+
+ {% for cluster in core.get_clusters(user.id_user) %}
+
+
+ {% block group_name %} {{ cluster.name }} {% endblock %}
+
+
+
+ {% endfor %}
+
+
+ {% endblock %}
+
+ +
+
+
+
+ {% endblock %}
+
+
+
+ {% endblock %}
+
+ {# if no result #}
+ {% else %}
+
+ {% block no_result %}
+
+
+ Aucun utilisateur trouvé
+
+
+ {% endblock %}
+
+ {% endfor %}
+
+{% endblock %}
\ No newline at end of file