2017-01-06 16:09:01 +00:00
|
|
|
<input type='text' class='searchbar' placeholder='Recherche'>
|
|
|
|
|
|
|
|
{% for cluster in f_clusters() %}
|
|
|
|
<article class='inline-box' id='{{ cluster.id_machine_cluster }}'>
|
|
|
|
|
2017-01-12 05:50:14 +00:00
|
|
|
{% set machinelist = f_machines(cluster.id_machine_cluster) %}
|
|
|
|
|
2017-01-06 16:09:01 +00:00
|
|
|
<span class='title' style='color: {{ p_theme }}'>{{ cluster.name }}</span>
|
|
|
|
<span class='link_remove' data-cluster='{{ cluster.id_machine_cluster }}'>{{ p_icon.remove | raw }}</span>
|
|
|
|
|
|
|
|
<span class='link_edit' data-cluster='{{ cluster.id_machine_cluster }}'>{{ p_icon.edit | raw }}</span>
|
|
|
|
|
|
|
|
<span class='code'>
|
|
|
|
{{ p_icon.device | raw }}
|
2017-01-12 05:50:14 +00:00
|
|
|
<span>{{ machinelist | length }} machines</span>
|
2017-01-06 16:09:01 +00:00
|
|
|
</span>
|
|
|
|
|
2017-09-23 17:40:37 +00:00
|
|
|
|
|
|
|
<span class='option'>
|
|
|
|
{{ p_icon.option | raw }}
|
|
|
|
{% for option in f_options(cluster.id_machine_cluster) %}
|
|
|
|
<span class='ignore'>
|
2017-09-25 13:29:15 +00:00
|
|
|
<span>{{ option.name }}:{{ option.daemon }}</span>
|
2017-09-23 17:40:37 +00:00
|
|
|
</span>
|
|
|
|
{% else %}
|
|
|
|
<span class='ignore'>Aucune option</span>
|
|
|
|
{% endfor %}
|
|
|
|
</span>
|
|
|
|
|
2017-01-06 16:09:01 +00:00
|
|
|
<span class='groups'>
|
|
|
|
{{ p_icon.group | raw }}
|
|
|
|
|
2017-02-18 14:08:13 +00:00
|
|
|
<span class='ignore'>
|
|
|
|
{% for machine in machinelist %}
|
|
|
|
<span>
|
|
|
|
{{ machine.name }}
|
|
|
|
<span class='rem-member' data-member='{{ machine.id_machine }}' data-cluster='{{ cluster.id_machine_cluster }}'></span>
|
|
|
|
</span>
|
|
|
|
{% endfor %}
|
|
|
|
</span>
|
2017-09-23 17:40:37 +00:00
|
|
|
|
2017-01-06 16:09:01 +00:00
|
|
|
<span class='add-member' data-cluster='{{ cluster.id_machine_cluster }}'>+</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</article>
|
2017-01-12 11:19:20 +00:00
|
|
|
|
|
|
|
{# if no result #}
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<article class='inline-box'>
|
|
|
|
<span>Aucun groupe trouvé.</span>
|
|
|
|
</article>
|
|
|
|
|
2017-01-06 16:09:01 +00:00
|
|
|
{% endfor %}
|