2017-07-23 19:56:51 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
2020-02-03 18:30:41 +01:00
|
|
|
{% block title %}Lookyloo{% endblock %}
|
2017-07-23 19:56:51 +02:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<center>
|
2020-02-10 01:55:03 +01:00
|
|
|
<a href="{{ url_for('scrape_web') }}">
|
|
|
|
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}"
|
|
|
|
alt="Lookyloo" width="200">
|
|
|
|
</a>
|
|
|
|
</center>
|
|
|
|
<center>
|
|
|
|
<h2><a href="{{ url_for('scrape_web') }}">Start a new capture</a></h2>
|
2019-06-28 12:08:35 +02:00
|
|
|
</br></br>
|
2017-07-23 19:56:51 +02:00
|
|
|
</center>
|
2020-02-03 18:30:41 +01:00
|
|
|
|
2020-02-06 17:25:21 +01:00
|
|
|
<center>
|
|
|
|
<div class="table-responsive">
|
2020-02-10 01:55:03 +01:00
|
|
|
<table id="table" class="table" data-toggle="table" data-search="true">
|
2020-02-03 22:25:48 +01:00
|
|
|
<thead>
|
|
|
|
<tr>
|
2020-02-10 01:55:03 +01:00
|
|
|
<th data-width="200">Page</th>
|
|
|
|
<th data-width="80">Timestamp</th>
|
|
|
|
<th data-width="200">Redirects</th>
|
2020-02-04 19:15:44 +01:00
|
|
|
</tr>
|
2020-02-03 18:30:41 +01:00
|
|
|
</thead>
|
|
|
|
<tbody>
|
2020-02-03 22:25:48 +01:00
|
|
|
{% for uuid, page_title, date, time, url, redirects in titles %}
|
|
|
|
<tr>
|
|
|
|
<td>
|
2020-02-10 11:21:20 +01:00
|
|
|
<p title="{{ page_title }}"><a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a></p>
|
2020-02-10 01:55:03 +01:00
|
|
|
<div id="url">{{ url }}</div>
|
2020-02-03 22:25:48 +01:00
|
|
|
</td>
|
2020-02-10 01:55:03 +01:00
|
|
|
<td>{{ date }} {{ time }}</td>
|
2020-02-03 22:25:48 +01:00
|
|
|
<td>
|
|
|
|
{% if redirects %}
|
|
|
|
{% for r in redirects %}
|
2020-02-10 11:21:20 +01:00
|
|
|
<p title="{{ r }}">
|
|
|
|
{% if loop.previtem %}
|
|
|
|
{{ (" " * (loop.index *2) )|safe }}↪ {{ r }}
|
|
|
|
{%else%}
|
2020-02-04 19:15:44 +01:00
|
|
|
{{ r }}
|
2020-02-10 11:21:20 +01:00
|
|
|
{%endif%}
|
|
|
|
</p>
|
2020-02-03 22:25:48 +01:00
|
|
|
{% endfor %}
|
|
|
|
{% else%}
|
|
|
|
No redirect
|
|
|
|
{%endif%}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
2020-02-03 18:30:41 +01:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2020-02-06 17:25:21 +01:00
|
|
|
</div>
|
|
|
|
</center>
|
2017-07-23 19:56:51 +02:00
|
|
|
{% endblock %}
|