2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 07:11:52 +00:00
troggle/templates/wallet_table.html

65 lines
3.2 KiB
HTML
Raw Normal View History

2022-08-01 13:55:20 +01:00
<table width=95%>
2022-09-19 21:10:09 +01:00
<tr><th>Wallet</th><th width=8%>Wallet Date</th><th>Cave</th><th>Wallet Name</th><th>Survex</th>
2022-08-01 13:55:20 +01:00
<!-- survex file-->
<th style="font-family: monospace; font-size: 150%;" title="Survex data">S</th>
<th style="font-family: monospace; font-size: 150%;" title="Survex Cave Description">C</th>
<th style="font-family: monospace; font-size: 150%;" title="Survex QMs">Q</th>
<!-- scanned-->
<th style="font-family: monospace; font-size: 150%;" title="Notes">N</th>
<th style="font-family: monospace; font-size: 150%;" title="Plan">P</th>
<th style="font-family: monospace; font-size: 150%;" title="Elevation">E</th>
<th style="font-family: monospace; font-size: 150%;" title="Tunnel or Therion">T</th>
<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>
2022-08-16 15:49:55 +01:00
<td style="padding:2px">{% if wallet.date %}{{wallet.date}}{% else %} {% endif %}</td>
2022-09-21 22:25:02 +01:00
<td style="padding:2px">
{% if wallet.cave %}
{% if wallet.caveobj.slug %}
<a href="/cave/scans/{{wallet.caveobj.slug}}">{{wallet.cave}}</a>
2022-09-21 22:25:02 +01:00
{% else %}
{{wallet.cave}}
{% endif %}
{% else %}
{% endif %}</td>
<td style="padding:2px">{% if wallet.name %}{{wallet.name}}{% 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 %}
<a href="{% url "svx" survexblock.survexfile.path %}">svx{{ forloop.counter }}</a>
{% endfor %}
2022-08-01 13:55:20 +01:00
<td style="padding:1px; background-color:{{wallet.ticks.S}}">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.C}}">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.Q}}">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.N}}">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.P}}">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.E}}">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.T}}">&nbsp;</td>
<td style="padding:1px; background-color:{{wallet.ticks.W}}">&nbsp;</td>
</tr>
{% empty %} <h2>No Wallets for this year</h2>
<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>
<p>Note that names in italics are copied from the related survex file block name.