2017-01-06 16:09:01 +00:00
|
|
|
<input type='text' class='searchbar' placeholder='Recherche'>
|
|
|
|
|
|
|
|
{% for machine in f_machines() %}
|
|
|
|
<article class='inline-box' id='{{ machine.id_machine }}'>
|
|
|
|
|
2017-02-19 15:31:26 +00:00
|
|
|
<span class='state' data-state='{{ f_getstate(machine.id_machine) }}'></span>
|
2017-01-06 16:09:01 +00:00
|
|
|
<span class='title' style='color: {{ p_theme }}'>{{ machine.name }} <span>#{{ machine.name }}</span></span>
|
|
|
|
<span class='link_remove' data-machine='{{ machine.id_machine }}'>{{ p_icon.remove | raw }}</span>
|
|
|
|
|
|
|
|
<span class='link_edit' data-machine='{{ machine.id_machine }}'>{{ p_icon.edit | raw }}</span>
|
|
|
|
|
|
|
|
<span class='groups'>
|
|
|
|
{{ p_icon.group | raw }}
|
|
|
|
|
2017-02-18 15:53:35 +00:00
|
|
|
<span class='ignore'>
|
|
|
|
{% for cluster in f_clusters(machine.id_machine) %}
|
|
|
|
<span>
|
|
|
|
{{ cluster.name }}
|
|
|
|
<span class='rem-group' data-group='{{ cluster.id_machine_cluster }}' data-machine='{{ machine.id_machine }}'></span>
|
|
|
|
</span>
|
|
|
|
{% endfor %}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class='add-group' data-machine='{{ machine.id_machine }}'>+</span>
|
2017-01-06 16:09:01 +00:00
|
|
|
</span>
|
|
|
|
|
|
|
|
</article>
|
2017-01-12 11:19:20 +00:00
|
|
|
|
|
|
|
{# if no result #}
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<article class='inline-box'>
|
|
|
|
<span>Aucune machine trouvée</span>
|
|
|
|
</article>
|
2017-01-06 16:09:01 +00:00
|
|
|
{% endfor %}
|