mirror of https://github.com/CIRCL/lookyloo
fix: Trim URLs on bulk capture
parent
56ed06eb84
commit
f30b84b638
|
@ -1,6 +1,7 @@
|
||||||
{% extends "main.html" %}
|
{% extends "main.html" %}
|
||||||
|
|
||||||
{% from 'bootstrap5/utils.html' import render_messages %}
|
{% from 'bootstrap5/utils.html' import render_messages %}
|
||||||
|
{% from "macros.html" import shorten_string %}
|
||||||
|
|
||||||
{% block title %}Captures{% endblock %}
|
{% block title %}Captures{% endblock %}
|
||||||
|
|
||||||
|
@ -70,7 +71,7 @@
|
||||||
{% for uuid, captured_url in bulk_captures %}
|
{% for uuid, captured_url in bulk_captures %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{{ captured_url }}
|
{{ shorten_string(captured_url, 50, with_title=True) }}
|
||||||
</td>
|
</td>
|
||||||
<td><a href="{{ url_for('tree', tree_uuid=uuid) }}">Show capture</a></td>
|
<td><a href="{{ url_for('tree', tree_uuid=uuid) }}">Show capture</a></td>
|
||||||
<td id="{{uuid}}" class="capture_status">Please wait...</td>
|
<td id="{{uuid}}" class="capture_status">Please wait...</td>
|
||||||
|
|
Loading…
Reference in New Issue