new: Display ressource URL in ressources list

Related #744
pull/747/head
Raphaël Vinot 2023-07-31 16:54:37 +02:00
parent 35218900ed
commit 7ae2b6e0d1
1 changed files with 5 additions and 3 deletions

View File

@ -29,12 +29,12 @@
</script> </script>
{% endif %} {% endif %}
<div class="table-responsive"> <table id="bodyHashesTable" class="table w-auto">
<table id="bodyHashesTable" class="table">
<thead> <thead>
<tr> <tr>
<th>File type</th> <th>File type</th>
<th>Captures total</th> <th>Captures total</th>
<th>Ressource</th>
<th>Hash (sha512)</th> <th>Hash (sha512)</th>
</tr> </tr>
</thead> </thead>
@ -57,11 +57,13 @@
</a> </a>
</td> </td>
<td>{{ info['total_captures'] }}</td> <td>{{ info['total_captures'] }}</td>
<td><p class="text-break">{{ info['node'].name }}</p></td>
<td> <td>
<span class="d-inline-block text-truncate" style="max-width: 200px;">
<a href="{{ url_for('body_hash_details', body_hash=body_hash) }}">{{body_hash}}</a> <a href="{{ url_for('body_hash_details', body_hash=body_hash) }}">{{body_hash}}</a>
</span>
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
</table> </table>
</div>