8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-09-12 01:03:09 +00:00

Merge branch 'crans' of https://gitlab.federez.net/federez/re2o into crans

This commit is contained in:
chirac 2018-06-24 23:50:09 +02:00
commit b02324d8bb
2 changed files with 21 additions and 4 deletions

View file

@ -21,11 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endcomment %}
{% load acl %}
<table class="table table-striped">
<div class="table-responsive">
<table class="table table-striped long_text">
<thead>
<tr>
<th>Entrée du hash</th>
<th class="long_text">Entrée du hash</th>
<th>Algorithme utilisé</th>
<th>Commentaire</th>
<th></th>
@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</thead>
{% for sshfpr in sshfingerprint_list %}
<tr>
<td>{{ sshfpr.pub_key_entry }}</td>
<td class="long_text">{{ sshfpr.pub_key_entry }}</td>
<td>{{ sshfpr.algo }}</td>
<td>{{ sshfpr.comment }}</td>
<td class="text-right">
@ -48,4 +48,5 @@ with this program; if not, write to the Free Software Foundation, Inc.,
</tr>
{% endfor %}
</table>
</div>

View file

@ -108,3 +108,19 @@ footer a {
overflow-y: visible;
}
/* For tables with long text in cells */
.table.long_text{
table-layout: fixed;
width: 100%;
}
td.long_text{
word-wrap: break-word;
width: 40%;
}
th.long_text{
width: 60%;
}