2024-11-08 20:44:53 +01:00
|
|
|
{% from "macros.html" import shorten_string %}
|
|
|
|
|
|
|
|
{% if from_popup %}
|
2020-06-15 16:17:09 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
2024-11-08 20:44:53 +01:00
|
|
|
{% from 'bootstrap5/utils.html' import render_messages %}
|
|
|
|
|
|
|
|
{% block title %}{{ cookie_name }}{% endblock %}
|
|
|
|
|
|
|
|
{%endif%}
|
2020-06-15 16:17:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2024-11-08 20:44:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
{% if from_popup %}
|
|
|
|
<center><button class="btn btn-primary goBack" type="button">Go Back</button></center>
|
|
|
|
{%endif%}
|
|
|
|
|
2024-10-07 20:45:08 +02:00
|
|
|
<center>
|
|
|
|
<h4>{{ cookie_name }}</h4>
|
|
|
|
<h6>Only the most recent captures are listed below, this will change soon.</h6>
|
|
|
|
</center>
|
|
|
|
|
|
|
|
<table id="cookieNameTable" class="table table-striped" style="width:100%">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Capture Time</th>
|
|
|
|
<th>Capture Title</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for capture_uuid, title, capture_time, nodes in captures %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{{capture_time}}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<a href="{{ url_for('tree', tree_uuid=capture_uuid) }}">
|
|
|
|
{{ title }}
|
|
|
|
</a>
|
|
|
|
<br>
|
|
|
|
The capture contains this URL in {{ nodes|length }} nodes, click below to see them on the tree:
|
|
|
|
<ul>
|
|
|
|
{% for node in nodes %}
|
|
|
|
<li>
|
|
|
|
<button type="button" class="btn btn-link openNewTab" data-capture="{{capture_uuid}}" data-hostnode="{{node}}">{{ node }}</button>
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-06-15 16:17:09 +02:00
|
|
|
{% endblock %}
|