2017-01-06 14:51:11 +00:00
|
|
|
<input type='text' class='searchbar' placeholder='Recherche'>
|
|
|
|
|
|
|
|
{% for cluster in f_clusters() %}
|
2017-01-09 13:49:00 +00:00
|
|
|
<article class='inline-box' id='{{ cluster.id_user_cluster }}'>
|
2017-01-12 05:50:14 +00:00
|
|
|
|
|
|
|
{% set userlist = f_users(cluster.id_user_cluster) %}
|
|
|
|
|
2017-01-06 14:51:11 +00:00
|
|
|
|
|
|
|
<span class='title' style='color: {{ p_theme }}'>{{ cluster.name }}</span>
|
2017-01-09 13:49:00 +00:00
|
|
|
<span class='link_remove' data-cluster='{{ cluster.id_user_cluster }}'>{{ p_icon.remove | raw }}</span>
|
2017-01-06 14:51:11 +00:00
|
|
|
|
2017-01-09 13:49:00 +00:00
|
|
|
<span class='link_edit' data-cluster='{{ cluster.id_user_cluster }}'>{{ p_icon.edit | raw }}</span>
|
2017-01-06 14:51:11 +00:00
|
|
|
|
|
|
|
<span class='code'>
|
|
|
|
{{ p_icon.type | raw }}
|
2017-01-12 05:50:14 +00:00
|
|
|
<span>{{ userlist | length }} utilisateurs</span>
|
2017-01-06 14:51:11 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class='groups'>
|
|
|
|
{{ p_icon.group | raw }}
|
|
|
|
|
2017-01-12 05:50:14 +00:00
|
|
|
{% for user in userlist %}
|
2017-01-06 14:51:11 +00:00
|
|
|
|
|
|
|
<span>
|
|
|
|
{{ user.username }}
|
2017-01-09 13:49:00 +00:00
|
|
|
<span class='rem-member' data-member='{{ user.id_user }}' data-cluster='{{ cluster.id_user_cluster }}'></span>
|
2017-01-06 14:51:11 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
2017-01-09 13:49:00 +00:00
|
|
|
<span class='add-member' data-cluster='{{ cluster.id_user_cluster }}'>+</span>
|
2017-01-06 14:51:11 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
{% endfor %}
|