<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 }}/{{ cdx.original }}">{{ cdx['timestamp'] | format_ts}}</a></td>
      <td>{{ cdx['statuscode'] }}</td>
      <td>{{ cdx['original'] }}</td>
      <td>{{ cdx['filename'] }}</td>
    </tr>
    {% endfor %}
  </table>
  <p>
  <i><b>* Unique captures are bold.</b> Other captures are duplicates of a previous capture.</i>
  </p>
</body>
