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-03 18:30:41 +01:00
|
|
|
<h2><a href="{{ url_for('scrape_web') }}">Use Lookyloo to scrape a page</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
|
|
|
|
|
|
|
<table class="table table-hover" data-toggle="table" data-search="true">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th scope="col">Page title</th>
|
|
|
|
<th scope="col">Initial URL</th>
|
|
|
|
<tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for uuid, page_title, date, time, url 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>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2017-07-23 19:56:51 +02:00
|
|
|
{% endblock %}
|