2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 00:31:55 +00:00
troggle/templates/prospecting.html
2015-06-28 13:46:28 +01:00

109 lines
5.0 KiB
HTML

{% extends "plainbase.html" %}
{% block title %}Prospecting{% endblock %}
{% block body %}
<h1>Prospecting Guide</h1>
<p><b>Notes:</b></p>
<ul><li>A marking status of "Retag" means a tag is in place but it carries a provisional number, or in some cases an incorrect number, and needs replacing with a new tag.</li>
<li>Kataster status codes indicate the size of a cave, its character and its exploration status, as described <a href="../katast.htm">here</a>.</li>
<li>For more info on each cave, see the links to detailed description pages.</li>
</ul>
{% for name, area, caves in areas %}
<h2>{{name|safe}}</h2>
<table border="1" width="100%">
<col><col><col><col><col><col><col><col><col>
<thead>
<tr><th>Cave Number</th><th>Name</th><th>Finished</th><th>Survey<br>Data</th><th>Survey<br>Drawn</th><th>Marked</th><th>Photo</th><th>Position</th></tr>
</thead>
<tbody>
{% for cave in caves %}
{% if cave.singleentrance %}
<tr{% if cave.ours %} class="ours"{% else %} class="notours"{% endif %}>
<td><a href="/{{ cave.url }}">{{ cave }}</a></td>
<td>{{ cave.official_name|safe }}</td>
<td>{{ cave.kataster_code }}</td>
<td>{{ cave.hassurveydata }}</td>
<td>{{ cave.hassurvey }}</td>
<td>{{ cave.caveandentrance_set.all.0.entrance.marking_val }}</td>
<td>{{ cave.caveandentrance_set.all.0.entrance.has_photo }} </td>
<td>{{ cave.caveandentrance_set.all.0.entrance.find_location }}</td>
</tr>
{% if cave.caveandentrance_set.all.0.entrance.location_description %}
<tr><th>Location</th><td colspan="9">{{ cave.caveandentrance_set.all.0.entrance.location_description|safe }}</td></tr>
{% endif %}
{% if cave.caveandentrance_set.all.0.entrance.map_description %}
<tr><th>Map</th><td colspan="9">{{ cave.caveandentrance_set.all.0.entrance.map_description|safe }}</td></tr>
{% endif %}
{% if cave.caveandentrance_set.all.0.entrance.approach %}
<tr><th>Approach</th><td colspan="9">{{ cave.caveandentrance_set.all.0.entrance.approach|safe }}</td></tr>
{% endif %}
{% if cave.caveandentrance_set.all.0.entrance.findability_description %}
<tr><th>Findability</th><td colspan="9">{{ cave.caveandentrance_set.all.0.entrance.findability_description|safe }}</td></tr>
{% endif %}
{% if cave.caveandentrance_set.all.0.entrance.marking_comment %}
<tr><th>Marking</th><td colspan="9">{{ cave.caveandentrance_set.all.0.entrance.marking_comment|safe }}</td></tr>
{% endif %}
{% if cave.caveandentrance_set.all.0.entrance.entrance_description %}
<tr><th>Ent Desc</th><td colspan="9">{{ cave.caveandentrance_set.all.0.entrance.entrance_description|safe }}</td></tr>
{% endif %}
{% if cave.underground_description %}
<tr><th>Under Desc</th><td colspan="9">{{ cave.underground_description|truncatewords_html:80 }}</td></tr>
{% endif %}
{% else %}
<tr{% if cave.ours %} class="ours"{% else %} class="notours"{% endif %}>
<td><a href="/{{ cave.url }}">{{ cave }}</a></td>
<td>{{ cave.official_name|safe }}</td>
<td>{{ cave.kataster_code }}</td>
<td>{{ cave.hassurveydata }}</td>
<td>{{ cave.hassurvey }}</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
{% if cave.underground_description %}
<tr><th>Under Desc</th><td colspan="9">{{ cave.underground_description|truncatewords_html:80 }}</td></tr>
{% endif %}
{% for caveandentrance in cave.caveandentrance_set.all %}
<tr{% if cave.ours %} class="ours"{% else %} class="notours"{% endif %}>
<td><a href="/{{ cave.url }}">{{ caveandentrance.entrance_letter}}</a></td>
<td>{{ caveandentrance.entrance.name|safe }}</td>
<td></td>
<td></td>
<td></td>
<td>{{ caveandentrance.entrance.marking_val }}</td>
<td>{{ caveandentrance.entrance.has_photo }} </td>
<td>{{ caveandentrance.entrance.find_location|safe }}</td>
</tr>
<tr>
{% if caveandentrance.entrance.location_description %}
<tr><td>Location</td><td colspan="9">{{ caveandentrance.entrance.location_description|safe }}</td></tr>
{% endif %}
{% if caveandentrance.entrance.map_description %}
<tr><td>Map</td><td colspan="9">{{ caveandentrance.entrance.map_description|safe }}</td></tr>
{% endif %}
{% if caveandentrance.entrance.approach %}
<tr><td>Approach</td><td colspan="9">{{ caveandentrance.entrance.approach|safe }}</td></tr>
{% endif %}
{% if caveandentrance.entrance.findability_description %}
<tr><th>Findability</th><td colspan="9">{{ caveandentrance.entrance.findability_description|safe }}</td></tr>
{% endif %}
{% if caveandentrance.entrance.marking_comment %}
<tr><th>Marking</th><td colspan="9">{{ caveandentrance.entrance.marking_comment|safe }}</td></tr>
{% endif %}
{% if cave.caveandentrance_set.all.0.entrance.entrance_description %}
<tr><th>Ent Desc</th><td colspan="9">{{ caveandentrance.entrance.entrance_description|safe }}</td></tr>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</tbody>
</table>
{% endfor %}
{% endblock %}