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>Initial URL</th>
|
||||
<th>Initial redirects</th>
|
||||
<tr>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for uuid, page_title, date, time, url, redirects in titles %}
|
||||
|
@ -26,11 +26,13 @@
|
|||
<td>{{ url }}</td>
|
||||
<td>
|
||||
{% if redirects %}
|
||||
<ul>
|
||||
{% for r in redirects %}
|
||||
<li>{{ r }}</li>
|
||||
{{ r }}
|
||||
{% if loop.nextitem %}
|
||||
</br>{{ (" " * (loop.index *2) )|safe }}↪
|
||||
{%endif%}
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else%}
|
||||
No redirect
|
||||
{%endif%}
|
||||
|
|
|
@ -20,14 +20,10 @@
|
|||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
<!-- Your page contont -->
|
||||
<!--
|
||||
<div class="container">
|
||||
-->
|
||||
<!-- Your page content -->
|
||||
<div class="container-fluid">
|
||||
{% block content %}{% endblock%}
|
||||
<!--
|
||||
</div>
|
||||
-->
|
||||
|
||||
{% block scripts %}
|
||||
<!-- Optional JavaScript -->
|
||||
|
|
Loading…
Reference in New Issue