Fix client info table size and flickering

Signed-off-by: Manish Tripathy <manisht@thougtworks.com>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2018-06-18 19:41:23 +05:30
parent 254c17dca1
commit e11fcd8f53
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -30,8 +30,8 @@
</button> </button>
</p> </p>
<div> <div id="clients" class="collapse">
<table id="clients" class="table table-striped collapse" style="width: 100%"> <table id="clients" class="table table-striped">
{% with clients|clients_of_type:'web' as web_clients %} {% with clients|clients_of_type:'web' as web_clients %}
{% for client in web_clients %} {% for client in web_clients %}
@ -120,23 +120,19 @@
{% endif %} {% endif %}
<td>{{ client.name }}</td> <td>{{ client.name }}</td>
<td> <td>
<div class="row"> {% for platform in client.platforms %}
<ul> {% if platform.type == 'package' %}
{% for platform in client.platforms %} {% if platform.format == 'deb' %}
{% if platform.type == 'package' %} <div><strong>{% trans "Debian:" %}</strong> {{ platform.name }}</div>
{% if platform.format == 'deb' %} {% endif %}
<li><strong>{% trans "Debian:" %}</strong> {{ platform.name }}</li> {% if platform.format == 'brew' %}
{% endif %} <div><strong>{% trans "Homebrew:" %}</strong> {{ platform.name }}</div>
{% if platform.format == 'brew' %} {% endif %}
<li><strong>{% trans "Homebrew:" %}</strong> {{ platform.name }}</li> {% if platform.format == 'rpm' %}
{% endif %} <p><strong>{% trans "RPM:" %}</strong> {{ platform.name }}</p>
{% if platform.format == 'rpm' %} {% endif %}
<li><strong>{% trans "RPM:" %}</strong> {{ platform.name }}</li> {% endif %}
{% endif %} {% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}