lookyloo/website/web/templates/index.html

31 lines
810 B
HTML
Raw Normal View History

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>
</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 %}