forked from expo/troggle
Extend wallets by cave report
This commit is contained in:
@@ -4,29 +4,38 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>Survey scans folders (wallets) for <a href="/{{cave.url}}">{{cave}}</a></h3>
|
||||
<h3>Wallets for <a href="/{{cave.url}}">{{cave}}</a> {{cave.official_name|safe}}</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>This lists all the files in a wallet, some of which may not be for this specific cave.
|
||||
|
||||
<table width=95%>
|
||||
<tr><th>Scans folder</th><th>Files</th><th>Survex blocks</th><th>Cave</th></tr>
|
||||
{% for scanswallet in manywallets|dictsort:"walletname" %}
|
||||
<tr><th>Wallet</th><th>Wallet Date</th><th>Wallet Name</th><th>Scans</th><th>Survex blocks</th><th>Survex dates</th><th>Drawings using these scans</th></tr>
|
||||
{% for wallet in manywallets|dictsort:"walletname" %}
|
||||
<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"><a href="{{wallet.get_absolute_url}}">{{wallet.walletname}}</a></td>
|
||||
|
||||
<td style="padding:2px">{{wallet.date}}</td>
|
||||
<td style="padding:2px">{{wallet.name}}</td>
|
||||
|
||||
<td align="right" style="padding:2px">{{wallet.singlescan_set.all|length}}</td>
|
||||
<td style="padding:2px">
|
||||
{% for survexblock in scanswallet.survexblock_set.all %}
|
||||
{% for survexblock in wallet.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="/{{survexblock.survexfile.cave.url}}">/{{survexblock.survexfile.cave.slug}}</a>
|
||||
{% endifchanged %}
|
||||
|
||||
{% for survexblock in wallet.survexblock_set.all %}
|
||||
{{survexblock.date}}
|
||||
{% endfor %}
|
||||
</td>
|
||||
<td style="padding:2px">
|
||||
{% for drawing in wallet.drawingfile_set.all %}
|
||||
<a href="{% url "dwgfilesingle" drawing.dwgpath %}">{{drawing.dwgpath}}</a><br>
|
||||
{% empty %}
|
||||
(no Tunnel drawings found: but there might be Therion drawings)
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<td align="right" style="padding:2px">{{dwgfile.npaths}}</td>
|
||||
|
||||
<td style="padding:2px">
|
||||
{% for scanswallet in dwgfile.manywallets.all %}
|
||||
{% for scanswallet in dwgfile.dwgwallets.all %}
|
||||
<a href="{{scanswallet.get_absolute_url}}">{{scanswallet.walletname}}</a>
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user