2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-12 11:32:18 +00:00
troggle/templates/wallet_table.html

63 lines
3.7 KiB
HTML
Raw Normal View History

<!-- this is an INCLUDED template wallet_table.html-->
2022-08-01 13:55:20 +01:00
<table width=95%>
2023-10-21 14:22:20 +01:00
<tr><th>Wallet</th><th width=15%>Wallet Date</th><th>Cave(s)</th><th>Wallet Name</th><th>Survex survey length</th>
2022-08-01 13:55:20 +01:00
<!-- survex file-->
2022-12-23 22:14:00 +00:00
<th style="font-family: monospace; font-size: 150%;" title="Survex file exists">S</th>
<th style="font-family: monospace; font-size: 150%;" title="Cave Description in Survex file">C</th>
<th style="font-family: monospace; font-size: 150%;" title="QMs in Survex file">Q</th>
2022-08-01 13:55:20 +01:00
<!-- scanned-->
2022-12-23 22:14:00 +00:00
<th style="font-family: monospace; font-size: 150%;" title="Notes exit">N</th>
<th style="font-family: monospace; font-size: 150%;" title="Plan done">P</th>
<th style="font-family: monospace; font-size: 150%;" title="Elevation done">E</th>
2022-08-01 13:55:20 +01:00
2022-12-23 22:14:00 +00:00
<th style="font-family: monospace; font-size: 150%;" title="Tunnel or Therion done">T</th>
2022-08-01 13:55:20 +01:00
<th style="font-family: monospace; font-size: 150%;" title="Website updated">W</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">{% if wallet.walletdate %}{{wallet.walletdate}}{% else %} {% endif %}</td>
2023-10-21 14:22:20 +01:00
<td style="padding:2px; font-family: monospace; font-size: 90%;">
{% for c in wallet.caves.all %}
<a href="/cave/scans/{{c.slug}}">{{c}}</a>
{% endfor %}
</td>
2022-12-21 22:10:55 +00:00
<td style="padding:2px">{% if wallet.name %}{{wallet.name|truncatechars:20}}{% else %}<em>{% if wallet.displaynames %} {% for dn in wallet.displaynames %}{{dn}}{%if not forloop.last %}, {% endif %} {% endfor %}{% else %} {% endif %}</em>{% endif %}</td>
2022-09-19 21:10:09 +01:00
<td style="padding:2px" align=center>
{% for survexblock in wallet.survexblock_set.all %}
2023-01-31 14:49:54 +00:00
<a href="{% url "svx" survexblock.survexfile.path %}">{{ survexblock.legslength|floatformat:0 }}m</a>
2022-09-19 21:10:09 +01:00
{% endfor %}
2022-08-01 13:55:20 +01:00
2022-12-23 22:14:00 +00:00
<td style="padding:1px; background-color:{{wallet.ticks.S}}" title="Survex file exists">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.C}}" title="Cave Description in Survex file">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.Q}}" title="QMs in Survex file">&nbsp;</td>
2022-08-01 13:55:20 +01:00
2022-12-23 22:14:00 +00:00
<td style="padding:1px; background-color:{{wallet.ticks.N}}" title="Notes exit">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.P}}" title="Plan done">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.E}}" title="Elevation done">&nbsp;</td>
2022-08-01 13:55:20 +01:00
2022-12-23 22:14:00 +00:00
<td style="padding:1px; background-color:{{wallet.ticks.T}}" title="Tunnel or Therion done">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.W}}" title="Website updated">&nbsp;</td>
2022-08-01 13:55:20 +01:00
</tr>
2022-12-29 13:56:09 +00:00
{% empty %} <h2>No Wallet found</h2>
2023-10-07 00:24:41 +01:00
<p>PROBABLY this is because this cave does not have a unqiue wallet, but shares a wallet with other caves. We do not have the multiple-caves-per-wallet thing working fully yet. Look through the <a href="/wallets/year/2017">wallets per year</a> instead, and do a text seearch on each page for the cave name.
<p>
<b>Before 1998</b> we used a survey book system, not wallets. But 1983 has some scraps recreated as wallets.
<p>That is probably why you cannot see anything here. Look at the complete list of scanned files instead,
at <a href="/survey_scans/">Scans</a> (it is slow, so be patient).
It lists things like "1984AndysNotebook" instead of a wallet identifier, but if you click on
<a href="/survey_scans/1984AndysNotebook/">"1984AndysNotebook"</a> you
will see some of the the notes and sketches scanned from it.
<p>Or look at all the scanned files,
their wallet names and the drawings that were created using them at <a href="/dwgfiles/">Drawings</a>
which is probably more useful.
2022-08-01 13:55:20 +01:00
{% endfor %}
</table>
2022-12-23 22:14:00 +00:00