From e11fcd8f53065698ea0327544ca6cca53e2d4b26 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 18 Jun 2018 19:41:23 +0530 Subject: [PATCH] Fix client info table size and flickering Signed-off-by: Manish Tripathy Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- plinth/templates/clients.html | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/plinth/templates/clients.html b/plinth/templates/clients.html index 3e0b9f90a..50cb16dee 100644 --- a/plinth/templates/clients.html +++ b/plinth/templates/clients.html @@ -30,8 +30,8 @@

-
- +
+
{% with clients|clients_of_type:'web' as web_clients %} {% for client in web_clients %} @@ -120,23 +120,19 @@ {% endif %} {% endfor %}
{{ client.name }} -
-
    - {% for platform in client.platforms %} - {% if platform.type == 'package' %} - {% if platform.format == 'deb' %} -
  • {% trans "Debian:" %} {{ platform.name }}
  • - {% endif %} - {% if platform.format == 'brew' %} -
  • {% trans "Homebrew:" %} {{ platform.name }}
  • - {% endif %} - {% if platform.format == 'rpm' %} -
  • {% trans "RPM:" %} {{ platform.name }}
  • - {% endif %} - {% endif %} - {% endfor %} -
-
+ {% for platform in client.platforms %} + {% if platform.type == 'package' %} + {% if platform.format == 'deb' %} +
{% trans "Debian:" %} {{ platform.name }}
+ {% endif %} + {% if platform.format == 'brew' %} +
{% trans "Homebrew:" %} {{ platform.name }}
+ {% endif %} + {% if platform.format == 'rpm' %} +

{% trans "RPM:" %} {{ platform.name }}

+ {% endif %} + {% endif %} + {% endfor %}