mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 19:33:11 +00:00
mise en page pour les longues fingerpint ssh
This commit is contained in:
parent
5a2be50f35
commit
216cf22155
2 changed files with 21 additions and 4 deletions
|
@ -21,11 +21,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
{% load acl %}
|
{% load acl %}
|
||||||
|
<div class="table-responsive">
|
||||||
<table class="table table-striped">
|
<table class="table table-striped long_text">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Entrée du hash</th>
|
<th class="long_text">Entrée du hash</th>
|
||||||
<th>Algorithme utilisé</th>
|
<th>Algorithme utilisé</th>
|
||||||
<th>Commentaire</th>
|
<th>Commentaire</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
|
@ -33,7 +33,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
</thead>
|
</thead>
|
||||||
{% for sshfpr in sshfingerprint_list %}
|
{% for sshfpr in sshfingerprint_list %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ sshfpr.pub_key_entry }}</td>
|
<td class="long_text">{{ sshfpr.pub_key_entry }}</td>
|
||||||
<td>{{ sshfpr.algo }}</td>
|
<td>{{ sshfpr.algo }}</td>
|
||||||
<td>{{ sshfpr.comment }}</td>
|
<td>{{ sshfpr.comment }}</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
|
@ -48,4 +48,5 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -96,3 +96,19 @@ footer a {
|
||||||
overflow-y: visible;
|
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%;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue