From 44df080b723acabf9b4fc194b083496846bf4cfd Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 25 Nov 2019 11:02:50 +0300 Subject: [PATCH] Rearrange supported hypervisors list: if there are hypervisor support more than 5, it spans to multiple line which causes distortion. --- computes/templates/overview.html | 35 ++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/computes/templates/overview.html b/computes/templates/overview.html index 81398b9..e6f824f 100644 --- a/computes/templates/overview.html +++ b/computes/templates/overview.html @@ -52,14 +52,33 @@

{{ hostname }}

-

{% for arch, hpv in hypervisor.items %} - - {{ arch }} - {% for h in hpv %} - {{ h }} - {% endfor %} - {% endfor %} -

+

+ {% for arch, hpv in hypervisor.items %} + {% if forloop.counter < 4 %} +
+ + +
+ {% else %} + + + {% endif %} + {% endfor %} +

{{ emulator }}

Qemu