Commit 8f5bc6f0 authored by Fabrice Roy's avatar Fabrice Roy

change page layout + add elements

add clusters elements that are not yet in json
change layout => 2 lines
parent 45eaa978
......@@ -12,6 +12,23 @@
{{ cluster['clustercorenumber'] }}
</p>
{% endif %}
{% if cluster['clusternodenumber'] %}
<p class="col-sm"><img src="../theme/img/node.png" alt="Nombre de nœuds" title="Nombre de nœuds" />
{{ cluster['clusternodenumber'] }}
</p>
{% endif %}
{% if cluster['clustergpunumber'] %}
<p class="col-sm"><img src="../theme/img/gpu.png" alt="Nombre de GPUs" title="Nombre de GPUs" />
{{ cluster['clustergpunumber'] }}
</p>
{% endif %}
{% if cluster['jobshedulername'] %}
<p class="col-sm"><img src="../theme/img/scheduler.png" alt="Gestionnaire de tâches" title="Gestionnaire de tâches" />
{{ cluster['jobshedulername'] }}
</p>
{% endif %}
</div>
<div class="card-body row">
{% if cluster['networktype'] %}
<p class="col-sm"><img src="../theme/img/network.png" alt="Type de réseau" title="Type de réseau" />
{{ cluster['networktype'] }}
......@@ -27,11 +44,6 @@
{{ cluster['networktopology'] }}
</p>
{% endif %}
{% if cluster['jobshedulername'] %}
<p class="col-sm"><img src="../theme/img/scheduler.png" alt="Gestionnaire de tâches" title="Gestionnaire de tâches" />
{{ cluster['jobshedulername'] }}
</p>
{% endif %}
{% if cluster['vendorname'] %}
<p class="col-sm"><img src="../theme/img/brand.png" alt="Constructeur" title="Constructeur"/>
{{ cluster['vendorname'] }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment