mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-27 01:31:57 +00:00
45 lines
2.1 KiB
HTML
45 lines
2.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% 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.
|
|
<p>See also wallets
|
|
<ul>
|
|
<li>per year, e.g. <a href="/wallets/year/2018">2018</a>, <a href="/wallets/year/2019">2019</a>, <a href="/wallets/year/2022">2022</a>
|
|
<li>per cave, e.g. <a href="/cave/scans/1623-161">1623/161</a>, <a href="/cave/scans/1623-290">1623/290</a>, <a href="/cave/scans/1623-291">1623/291</a>, <a href="/cave/scans/1623-264">1623/264</a>
|
|
<li>per person, e.g. <a href="/wallets/person/Wookey">Wookey</a>, <a href="/wallets/person/ChrisDensham">Chris Densham</a>, <a href="/wallets/person/BeckaLawson">Becka</a>
|
|
</ul>
|
|
|
|
<!-- This should all be restructured to use .prefetch_related() and .select_related()
|
|
see https://docs.djangoproject.com/en/3.2/ref/models/querysets/#prefetch-related
|
|
-->
|
|
<table width=95%>
|
|
<tr><th>Scans folder</th><th>Files</th><th>Survex blocks</th><th>Cave</th></tr>
|
|
{% for scanswallet in manywallets %}
|
|
<tr>
|
|
<td style="padding:2px"><a href="{{scanswallet.get_absolute_url}}">{{scanswallet.walletname}}</a></td>
|
|
<td align="right" style="padding:2px">{{scanswallet.singlescan_set.all|length}}</td>
|
|
<td style="padding:2px">
|
|
{% for survexblock in scanswallet.survexblock_set.all %}
|
|
<a href="{% url "svx" survexblock.survexfile.path %}">{{survexblock}}</a>
|
|
{% endfor %}
|
|
</td>
|
|
<td style="padding:2px">
|
|
{% for survexblock in scanswallet.survexblock_set.all %}
|
|
{% ifchanged survexblock.survexfile.cave %}
|
|
<a href="/cave/scans/{{survexblock.survexfile.cave.slug}}">/{{survexblock.survexfile.cave.slug}}</a>
|
|
{% endifchanged %}
|
|
|
|
{% endfor %}
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% endblock %} |