mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
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:
parent
254c17dca1
commit
e11fcd8f53
@ -30,8 +30,8 @@
|
||||
</button>
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<table id="clients" class="table table-striped collapse" style="width: 100%">
|
||||
<div id="clients" class="collapse">
|
||||
<table id="clients" class="table table-striped">
|
||||
|
||||
{% with clients|clients_of_type:'web' as web_clients %}
|
||||
{% for client in web_clients %}
|
||||
@ -120,23 +120,19 @@
|
||||
{% endif %}
|
||||
<td>{{ client.name }}</td>
|
||||
<td>
|
||||
<div class="row">
|
||||
<ul>
|
||||
{% for platform in client.platforms %}
|
||||
{% if platform.type == 'package' %}
|
||||
{% if platform.format == 'deb' %}
|
||||
<li><strong>{% trans "Debian:" %}</strong> {{ platform.name }}</li>
|
||||
{% endif %}
|
||||
{% if platform.format == 'brew' %}
|
||||
<li><strong>{% trans "Homebrew:" %}</strong> {{ platform.name }}</li>
|
||||
{% endif %}
|
||||
{% if platform.format == 'rpm' %}
|
||||
<li><strong>{% trans "RPM:" %}</strong> {{ platform.name }}</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% for platform in client.platforms %}
|
||||
{% if platform.type == 'package' %}
|
||||
{% if platform.format == 'deb' %}
|
||||
<div><strong>{% trans "Debian:" %}</strong> {{ platform.name }}</div>
|
||||
{% endif %}
|
||||
{% if platform.format == 'brew' %}
|
||||
<div><strong>{% trans "Homebrew:" %}</strong> {{ platform.name }}</div>
|
||||
{% endif %}
|
||||
{% if platform.format == 'rpm' %}
|
||||
<p><strong>{% trans "RPM:" %}</strong> {{ platform.name }}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user