mirror of https://github.com/CIRCL/lookyloo
43 lines
1.0 KiB
HTML
43 lines
1.0 KiB
HTML
{% extends "main.html" %}
|
|
|
|
{% block title %}Lookyloo{% endblock %}
|
|
|
|
{% block content %}
|
|
<center>
|
|
<h2><a href="{{ url_for('scrape_web') }}">Use Lookyloo to scrape a page</a></h2>
|
|
</br></br>
|
|
</center>
|
|
|
|
<table class="table" data-toggle="table" data-search="true" data-show-columns="true">
|
|
<thead>
|
|
<tr>
|
|
<th>Page title</th>
|
|
<th>Initial URL</th>
|
|
<th>Initial redirects</th>
|
|
<tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for uuid, page_title, date, time, url, redirects in titles %}
|
|
<tr>
|
|
<td>
|
|
<a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a>
|
|
<div id="timestamp"> <b>{{ date }}</b> {{ time }}</div>
|
|
</td>
|
|
<td>{{ url }}</td>
|
|
<td>
|
|
{% if redirects %}
|
|
<ul>
|
|
{% for r in redirects %}
|
|
<li>{{ r }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else%}
|
|
No redirect
|
|
{%endif%}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|