{% extends "base.html" %}
{% load wiki_markup %}
{% load survex_markup %}

{% block title %}All Survey scans folders (wallets){% endblock %}

{% block content %}

<h3>All Survey scans folders (wallets)</h3>
<p>Each wallet contains the scanned original in-cave survey notes and sketches of 
plans and elevations. It also contains scans of centre-line survex output on which
hand-drawn passage sections are drawn. These hand-drawn passages will eventually be 
traced to produce Tunnel or Therion drawings and eventually the final complete cave survey.
<table>
<tr><th>Scans folder</th><th>Files</th><th>Survex blocks</th></tr>
{% for survexscansfolder in survexscansfolders %}
  <tr>
    <td><a href="{{survexscansfolder.get_absolute_url}}">{{survexscansfolder.walletname}}</a></td>
    <td>{{survexscansfolder.survexscansingle_set.all|length}}</td>
    <td>
    {% for survexblock in survexscansfolder.survexblock_set.all %}
      <a href="{% url "svx" survexblock.survexfile.path %}">{{survexblock}}</a>
    {% endfor %}
    </td>
  </tr>
{% endfor %}
</table>

{% endblock %}