troggle-unchained/templates/prospecting.html

109 lines
5.0 KiB
HTML
Raw Normal View History

2012-08-10 18:34:44 +01:00
{% extends "plainbase.html" %}
{% block title %}Prospecting{% endblock %}
{% block body %}
<h1>Prospecting Guide</h1>
<p><b>Notes:</b></p>
2015-06-28 13:46:28 +01:00
<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>
2012-08-10 18:34:44 +01:00
<li>For more info on each cave, see the links to detailed description pages.</li>
</ul>
{% for name, area, caves in areas %}
2012-08-10 18:34:44 +01:00
<h2>{{name|safe}}</h2>
<table border="1" width="100%">
<col><col><col><col><col><col><col><col><col>
2012-08-10 18:34:44 +01:00
<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>
2012-08-10 18:34:44 +01:00
</thead>
<tbody>
{% for cave in caves %}
2012-08-10 18:34:44 +01:00
{% if cave.singleentrance %}
<tr{% if cave.ours %} class="ours"{% else %} class="notours"{% endif %}>
<td><a href="/{{ cave.url }}">{{ cave }}</a></td>
2012-08-10 18:34:44 +01:00
<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 %}
2012-08-10 18:34:44 +01:00
{% else %}
<tr{% if cave.ours %} class="ours"{% else %} class="notours"{% endif %}>
<td><a href="/{{ cave.url }}">{{ cave }}</a></td>
2012-08-10 18:34:44 +01:00
<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 %}
2012-08-10 18:34:44 +01:00
{% 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>
2012-08-10 18:34:44 +01:00
<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>
2012-08-10 18:34:44 +01:00
</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 %}
2012-08-10 18:34:44 +01:00
{% endfor %}
{% endif %}
{% endfor %}
</tbody>
</table>
{% endfor %}
{% endblock %}