mirror of https://github.com/CIRCL/lookyloo
parent
1c2cdad38b
commit
2092038a69
|
@ -11,7 +11,7 @@ FileSaver="v2.0.2"
|
||||||
|
|
||||||
wget -q https://raw.githubusercontent.com/eligrey/FileSaver.js/${FileSaver}/src/FileSaver.js -O web/static/FileSaver.js
|
wget -q https://raw.githubusercontent.com/eligrey/FileSaver.js/${FileSaver}/src/FileSaver.js -O web/static/FileSaver.js
|
||||||
|
|
||||||
bootstrap_table="1.16.0"
|
datatables="1.10.20"
|
||||||
|
|
||||||
wget -q https://unpkg.com/bootstrap-table@${bootstrap_table}/dist/bootstrap-table.min.css -O web/static/bootstrap-table.min.css
|
wget -q https://cdn.datatables.net/v/bs4/dt-${datatables}/datatables.min.css -O web/static/datatables.min.css
|
||||||
wget -q https://unpkg.com/bootstrap-table@${bootstrap_table}/dist/bootstrap-table.min.js -O web/static/bootstrap-table.min.js
|
wget -q https://cdn.datatables.net/v/bs4/dt-${datatables}/datatables.min.js -O web/static/datatables.min.js
|
||||||
|
|
|
@ -4,6 +4,30 @@
|
||||||
|
|
||||||
{% block title %}Lookyloo{% endblock %}
|
{% block title %}Lookyloo{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ super() }}
|
||||||
|
<script src='{{ url_for('static', filename='datatables.min.js') }}'></script>
|
||||||
|
<script>
|
||||||
|
$(document).ready(function () {
|
||||||
|
$('#table').DataTable( {
|
||||||
|
"order": [[ 1, "desc" ]],
|
||||||
|
"pageLength": 50,
|
||||||
|
"columns": [
|
||||||
|
{ "orderable": false, "width": 400 },
|
||||||
|
{ "orderable": false, "width": 150 },
|
||||||
|
{ "orderable": false, "width": 400 }
|
||||||
|
]
|
||||||
|
} );
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block styles %}
|
||||||
|
{{ super() }}
|
||||||
|
<link rel="stylesheet" href="{{ url_for('static', filename='datatables.min.css') }}">
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<center>
|
<center>
|
||||||
<a href="{{ url_for('scrape_web') }}">
|
<a href="{{ url_for('scrape_web') }}">
|
||||||
|
@ -17,14 +41,13 @@
|
||||||
{{ render_messages(container=True, dismissible=True) }}
|
{{ render_messages(container=True, dismissible=True) }}
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<center>
|
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="table" class="table" data-toggle="table" data-search="true">
|
<table id="table" class="table" style="width:96%">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th data-width="200">Page</th>
|
<th>Page</th>
|
||||||
<th data-width="80">Timestamp</th>
|
<th>Timestamp</th>
|
||||||
<th data-width="200">Redirects</th>
|
<th>Redirects</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -60,5 +83,4 @@
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</center>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<!-- Bootstrap CSS -->
|
<!-- Bootstrap CSS -->
|
||||||
{{ bootstrap.load_css() }}
|
{{ bootstrap.load_css() }}
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='bootstrap-table.min.css') }}">
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='tree.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='tree.css') }}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
@ -28,9 +27,6 @@
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<!-- Optional JavaScript -->
|
<!-- Optional JavaScript -->
|
||||||
{{ bootstrap.load_js() }}
|
{{ bootstrap.load_js() }}
|
||||||
<script src='{{ url_for('static', filename='d3.v5.min.js') }}'></script>
|
|
||||||
<script src='{{ url_for('static', filename='FileSaver.js') }}'></script>
|
|
||||||
<script src='{{ url_for('static', filename='bootstrap-table.min.js') }}'></script>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
|
<script src='{{ url_for('static', filename='d3.v5.min.js') }}'></script>
|
||||||
|
<script src='{{ url_for('static', filename='FileSaver.js') }}'></script>
|
||||||
<script src='{{ url_for('static', filename='tree.js') }}'></script>
|
<script src='{{ url_for('static', filename='tree.js') }}'></script>
|
||||||
<script>
|
<script>
|
||||||
$('#screenshot_view_button').click(function(){
|
$('#screenshot_view_button').click(function(){
|
||||||
|
|
Loading…
Reference in New Issue