mirror of https://github.com/CIRCL/lookyloo
chg: Improve redirects on index
parent
4234e44470
commit
62ff47c3f1
|
@ -14,7 +14,7 @@
|
||||||
<th>Page title</th>
|
<th>Page title</th>
|
||||||
<th>Initial URL</th>
|
<th>Initial URL</th>
|
||||||
<th>Initial redirects</th>
|
<th>Initial redirects</th>
|
||||||
<tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for uuid, page_title, date, time, url, redirects in titles %}
|
{% for uuid, page_title, date, time, url, redirects in titles %}
|
||||||
|
@ -26,11 +26,13 @@
|
||||||
<td>{{ url }}</td>
|
<td>{{ url }}</td>
|
||||||
<td>
|
<td>
|
||||||
{% if redirects %}
|
{% if redirects %}
|
||||||
<ul>
|
|
||||||
{% for r in redirects %}
|
{% for r in redirects %}
|
||||||
<li>{{ r }}</li>
|
{{ r }}
|
||||||
|
{% if loop.nextitem %}
|
||||||
|
</br>{{ (" " * (loop.index *2) )|safe }}↪
|
||||||
|
{%endif%}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
|
||||||
{% else%}
|
{% else%}
|
||||||
No redirect
|
No redirect
|
||||||
{%endif%}
|
{%endif%}
|
||||||
|
|
|
@ -20,14 +20,10 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Your page contont -->
|
<!-- Your page content -->
|
||||||
<!--
|
<div class="container-fluid">
|
||||||
<div class="container">
|
|
||||||
-->
|
|
||||||
{% block content %}{% endblock%}
|
{% block content %}{% endblock%}
|
||||||
<!--
|
|
||||||
</div>
|
</div>
|
||||||
-->
|
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<!-- Optional JavaScript -->
|
<!-- Optional JavaScript -->
|
||||||
|
|
Loading…
Reference in New Issue