mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-19 18:29:37 +01:00
* Refactor views class to support more Jinja2 views (J2Template) * Add a home page, collection search page, and error pages, all optional * all exceptions appear on error page * wbrequest supports a request with an empty or / wb_url
24 lines
781 B
HTML
24 lines
781 B
HTML
<body>
|
|
<h2>pywb Sample Calendar Results</h2>
|
|
<b>{{ cdx_lines | length }}</b> captures of <b>{{ url }}</b>
|
|
<table id="captures" style="border-spacing: 10px;">
|
|
<tr>
|
|
<th>Capture</th>
|
|
<th>Status</th>
|
|
<th>Original Url</th>
|
|
<th>Archive File</th>
|
|
</tr>
|
|
{% for cdx in cdx_lines %}
|
|
<tr style="{{ 'font-weight: bold' if cdx['mimetype'] != 'warc/revisit' else '' }}">
|
|
<td><a href="{{ prefix }}{{ cdx.timestamp }}/{{ url }}">{{ cdx['timestamp'] | format_ts}}</a></td>
|
|
<td>{{ cdx['filename'] }}</td>
|
|
<td>{{ cdx['statuscode'] }}</td>
|
|
<td>{{ cdx['originalurl'] }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<p>
|
|
<i><b>* Unique captures are bold.</b> Other captures are duplicates of a previous capture.</i>
|
|
</p>
|
|
</body>
|