summaryrefslogtreecommitdiffstats
path: root/templates/yearwallets.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2022-07-31 01:02:02 +0300
committerPhilip Sargent <philip.sargent@klebos.com>2022-07-31 01:02:02 +0300
commitc1ba6a39a5f556d832da22e1f8e8ab33494f755b (patch)
tree7d136efe5a5c548ee270c9da6f4ecbba9877d6c7 /templates/yearwallets.html
parent724234949f1770645b0f8c34221ae16b0615daf3 (diff)
downloadtroggle-c1ba6a39a5f556d832da22e1f8e8ab33494f755b.tar.gz
troggle-c1ba6a39a5f556d832da22e1f8e8ab33494f755b.tar.bz2
troggle-c1ba6a39a5f556d832da22e1f8e8ab33494f755b.zip
Wallets by year and by cave
Diffstat (limited to 'templates/yearwallets.html')
-rw-r--r--templates/yearwallets.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/yearwallets.html b/templates/yearwallets.html
new file mode 100644
index 0000000..87843d2
--- /dev/null
+++ b/templates/yearwallets.html
@@ -0,0 +1,45 @@
+{% extends "base.html" %}
+
+{% block title %}One Year Survey scans folders (wallets){% endblock %}
+
+{% block content %}
+<h3>Wallets for {{year}} </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.
+<p>See also wallets
+<ul>
+<li>per cave, e.g. <a href="/cave/scans/1623-204">1623/204</a>
+</ul>
+<table width=95%>
+<tr><th>Wallet</th><th>Wallet Date</th><th>Wallet Name</th><th>People</th><th>Cave</th><th>Scans</th><th>Survex blocks</th><th>Drawings using these scans</th></tr>
+{% for wallet in manywallets|dictsort:"walletname" %}
+ <tr>
+ <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 style="padding:2px">{{wallet.people}}</td>
+ <td style="padding:2px">{{wallet.cave}}</td>
+
+ <td align="center" style="padding:2px"><a href="{{wallet.get_absolute_url}}">{{wallet.singlescan_set.all|length}}</a></td>
+ <td style="padding:2px">
+ {% for survexblock in wallet.survexblock_set.all %}
+ <a href="{% url "svx" survexblock.survexfile.path %}">{{survexblock}}</a>
+ {% 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>
+{% endfor %}
+</table>
+
+{% endblock %} \ No newline at end of file