{% block search_bar %} {% endblock %}
{% block group_list %}
{% for cluster in core.get_clusters() %}
{% block group_card %}
{% block card_tag %} {% endblock %}
{% set machinelist = core.get_members(cluster.id_machine_cluster) %}
{% block card_title %} {{ cluster.name }} {% endblock %}
{% block card_remove %} {{ core.icon.remove | raw }} {% endblock %}
{% block card_edit %} {{ core.icon.edit | raw }} {% endblock %}
{# To be patched #}
{% block card_patch %}{% endblock %}
{% block card_count %}
{{ core.icon.device | raw }}
{{ machinelist | length }} machines
{% endblock %}
{% block card_option %}
{{ core.icon.option | raw }}
{% for option in core.get_options(cluster.id_machine_cluster) %}
{{ option.name }}:{{ option.daemon }}
{% else %}
Aucune option
{% endfor %}
{% endblock %}
{% block card_group %}
{{ core.icon.group | raw }}
{% for machine in machinelist %}
{{ machine.name }}
{% endfor %}
+
{% endblock %}
{% endblock %}
{# if no result #}
{% else %}
{% block no_result %}
Aucun groupe trouvé.
{% endblock %}
{% endfor %}
{% endblock %}