mirror of https://github.com/CIRCL/lookyloo
chg: Improve index, move things around.
parent
6fbc6f6ead
commit
bc1b1f6787
|
@ -112,8 +112,11 @@ hr {
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#timestamp {
|
table {
|
||||||
text-align: right;
|
table-layout: fixed;
|
||||||
color: gray;
|
}
|
||||||
font-size: small;
|
|
||||||
|
table td{
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,18 +4,24 @@
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<center>
|
<center>
|
||||||
<h2><a href="{{ url_for('scrape_web') }}">Use Lookyloo to scrape a page</a></h2>
|
<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>
|
||||||
</br></br>
|
</br></br>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="table" class="table" data-toggle="table" data-search="true" data-show-columns="true">
|
<table id="table" class="table" data-toggle="table" data-search="true">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th data-field="title" data-width="200">Page title</th>
|
<th data-width="200">Page</th>
|
||||||
<th data-flield="url" data-width="75">Initial URL</th>
|
<th data-width="80">Timestamp</th>
|
||||||
<th data-field="redirects" data-width="75">Initial redirects</th>
|
<th data-width="200">Redirects</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -23,9 +29,9 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a>
|
<a href="{{ url_for('tree', tree_uuid=uuid) }}">{{ page_title }}</a>
|
||||||
<div id="timestamp"> <b>{{ date }}</b> {{ time }}</div>
|
<div id="url">{{ url }}</div>
|
||||||
</td>
|
</td>
|
||||||
<td>{{ url }}</td>
|
<td>{{ date }} {{ time }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if redirects %}
|
{% if redirects %}
|
||||||
{% for r in redirects %}
|
{% for r in redirects %}
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Your page content -->
|
<!-- Your page content -->
|
||||||
<div class="container-fluid">
|
<div class="container">
|
||||||
{% block content %}{% endblock%}
|
{% block content %}{% endblock%}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<center>
|
<center>
|
||||||
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}"
|
<img src="{{ url_for('static', filename='lookyloo.jpeg') }}"
|
||||||
alt="Lookyloo" width="500">
|
alt="Lookyloo" width="400">
|
||||||
</center>
|
</center>
|
||||||
</br>
|
</br>
|
||||||
<form role="form" action="scrape" method=post enctype=multipart/form-data>
|
<form role="form" action="scrape" method=post enctype=multipart/form-data>
|
||||||
|
|
Loading…
Reference in New Issue