1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-19 18:29:37 +01:00
pywb/ui/query.html

15 lines
493 B
HTML

<body>
<b><span id="count"></span>&nbsp;Captures of {{ url }}</b>
<table id="captures">
{% for cdx in cdxlines %}
<tr>
<td><a href="{{ prefix}}{{ cdx.timestamp }}/{{ url }}">{{ cdx.timestamp }}</a></td>
<td><a href="https://archive.org/details/{{ cdx['filename'] }}">{{ cdx['filename'] }}</a></td>
</tr>
{% endfor %}
</table>
<script>
document.getElementById("count").innerHTML = document.getElementById("captures").getElementsByTagName("tr").length
</script>
</body>