ui: Make all tables responsive

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa authored and Veiko Aasa committed 2020-12-19 11:26:34 +02:00
1 parent fef8da230f
commit 83dcafac55
28 files changed
+1085 -1026

No files matched your search

+16 -14
View File
@@ -17,20 +17,22 @@
{% endblocktrans %}
</p>
<table class="table">
<thead>
<tr>
<th>{% trans "Algorithm" %}</th>
<th>{% trans "Fingerprint" %}</th>
</tr>
</thead>
<tbody>
{% for host_key in host_keys %}
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<td>{{ host_key.algorithm }}</td>
<td><samp>{{ host_key.fingerprint }}</samp></td>
<th>{% trans "Algorithm" %}</th>
<th>{% trans "Fingerprint" %}</th>
</tr>
{% endfor %}
</tbody>
</table>
</thead>
<tbody>
{% for host_key in host_keys %}
<tr>
<td>{{ host_key.algorithm }}</td>
<td><samp>{{ host_key.fingerprint }}</samp></td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}