2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 12:27:35 +00:00

contnets.json now visible on form

This commit is contained in:
Philip Sargent
2022-03-15 19:15:45 +00:00
parent 3390f51049
commit 6bdd9be092
2 changed files with 53 additions and 6 deletions

View File

@@ -57,4 +57,29 @@
</div>
<hr />
<br>
<span style="font-family: monospace; font-size: 150%; ">
{% if cave %}<u>Cave ID</u>: <b>{{cave}}</b><br> {% endif %}
{% if psg %}<u>Survey area</u>: <b>{{psg}}</b><br><br> {% endif %}
</span>
<span style="font-family: monospace; font-size: 130%; ">
<table style="border: 1px; border-style: hidden;>
{% for d, value in waldata.items %}
<tr style="border-style: hidden;">
<td style="border-style: hidden; padding-right: 3em;">{{d}}</td>
{% if d == "survex file" %}
<td>
{% for svx in value %}
<a href="/survexfile/{{svx}}">{{svx}}</a>
{% endfor %}
</td>
{% else %}
<td> <b>{{value}}</b></td>
{% endif %}
</tr>
{% empty %}
<p>&lt;No JSON data here&gt;
{% endfor %}
</table>
</span>
{% endblock %}