2017-01-06 14:51:11 +00:00
|
|
|
<input type='text' class='searchbar' placeholder='Recherche'>
|
|
|
|
|
|
|
|
{% for user in f_users() %}
|
|
|
|
|
|
|
|
<article class='inline-box' id='{{ user.id_user }}'>
|
|
|
|
|
|
|
|
<span class='title' style='color: {{ p_theme }}'>{{ user.firstname }} {{ user.lastname }} <span>#{{ user.username }}</span></span>
|
|
|
|
<span class='link_remove' data-user='{{ user.id_user }}'>{{ p_icon.remove | raw }}</span>
|
|
|
|
|
|
|
|
<span class='link_edit' data-user='{{ user.id_user }}'>{{ p_icon.edit | raw }}</span>
|
|
|
|
|
|
|
|
<span class='code'>
|
|
|
|
{{ p_icon.card | raw }}
|
|
|
|
<span>{{ user.code }}</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class='mail'>
|
|
|
|
{{ p_icon.mail | raw }}
|
|
|
|
|
|
|
|
<a href='mailto:{{ user.mail }}'>
|
|
|
|
<span>{{ user.mail }}</span>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class='groups'>
|
|
|
|
{{ p_icon.group | raw }}
|
|
|
|
|
2017-02-18 15:53:35 +00:00
|
|
|
<span class='ignore'>
|
|
|
|
{% for cluster in f_clusters(user.id_user) %}
|
2017-01-06 14:51:11 +00:00
|
|
|
|
2017-02-18 15:53:35 +00:00
|
|
|
|
|
|
|
<span>
|
|
|
|
{{ cluster.name }}
|
|
|
|
<span class='rem-group' data-group='{{ cluster.id_user_cluster }}' data-user='{{ user.id_user }}'></span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
</span>
|
2017-01-06 14:51:11 +00:00
|
|
|
|
2017-02-18 15:53:35 +00:00
|
|
|
<span class='add-group' data-user='{{ user.id_user }}'>+</span>
|
2017-01-06 14:51:11 +00:00
|
|
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
2017-01-12 11:19:20 +00:00
|
|
|
{# if no result #}
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<article class='inline-box'>
|
|
|
|
<span>Aucun utilisateur trouvé</span>
|
|
|
|
</article>
|
|
|
|
|
2017-01-06 14:51:11 +00:00
|
|
|
{% endfor %}
|