2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-24 00:01:54 +00:00
troggle/templates/caveindex.html

162 lines
6.6 KiB
HTML

{% extends "cavebase.html" %}
{% block title %}Cave Index{% endblock %}
{% block content %}
<h1>Cave Index</h1>
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
<li> {{ cave.areacode }} <a href="/{{ cave.url }}">
{% if cave.kataster_number %}
{{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a>
{% if cave.unofficial_number %}
({{cave.unofficial_number }})
{% endif %}
{% else %}
{{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a>
{% endif %}
{% endfor %}
</ul>
Red star <span style="color: red">*</span> against a name indicates that no survex file is explicitly associated with the cave<br />
Blue star <span style="color: blue">*</span> against a name indicates that no survex file is explicitly associated with the cave but it is marked as 'fully explored'<br />
Blue triangle <span style="color: #43C6DB">&#x25BC;</span> against a name indicates that the cave is 'pending' creation properly.<br />
Orange triangle <span style="color: orange">&#x25B2;</span> against a name indicates that the cave has no Entrance (and is not 'pending').<br />
Black triangle <span style="color: black">&#x25B2;</span> against a name indicates that the cave has an Entrance, but no entrances have valid located survey stations.
<h3>1623</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves1623 %}
<tr><td> <a href="/{{ cave.url }}">
{% if cave.kataster_number %}
{{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a>
{% if cave.unofficial_number %}
({{cave.unofficial_number }})
{% endif %}
{% else %}
{{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a>
{% endif %}
{% if cave.filename %}
{% if cave.entrances %}
{% if cave.no_location %}<span title="the cave has an Entrance, but no entrances have located survey station" style="color: black">&#x25B2;</span>{% endif %}
{% else %}<span title="the cave has no Entrance (and is not 'pending')" style="color: orange">&#x25B2;</span>
{% endif %}
{% else %}<span title="the cave is 'pending' creation properly" style="color: #43C6DB">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}
{% if cave.fully_explored %}
<span title="no survex file is explicitly associated with the cave but it is fully explored" style="color: blue">*</span>
{% else %}
<span title="no survex file is explicitly associated with the cave" style="color: red">*</span>
{% endif %}
{% endif %}
</td></tr>
{% endfor %}
</table>
</div>
<p style="text-align:right">
<a href="{% url "newcave" %}">New Cave</a><br>
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
</p>
<h3>1626</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves1626 %}
<tr><td><a href="/{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a> {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a> {% endif %}
{% if cave.filename %}
{% if cave.entrances %}
{% if cave.no_location %}<span style="color: black">&#x25B2;</span>{% endif %}
{% else %}<span style="color: orange">&#x25B2;</span>
{% endif %}
{% else %}<span style="color: #43C6DB">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}
{% if cave.fully_explored %}
<span title="no survex file is explicitly associated with the cave but it is fully explored" style="color: blue">*</span>
{% else %}
<span title="no survex file is explicitly associated with the cave" style="color: red">*</span>
{% endif %}
{% endif %} </td></tr>
{% endfor %}
</table>
</div>
<p style="text-align:right">
<a href="{% url "newcave" %}">New Cave</a><br>
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
</p>
<h3>1627</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves1627 %}
<tr><td><a href="/{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a> {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a> {% endif %}
{% if cave.filename %}
{% if cave.no_location %}<span style="color: black">&#x25B2;</span>{% endif %}
{% if cave.entrances %}
{% else %}<span style="color: orange">&#x25B2;</span>
{% endif %}
{% else %}<span style="color: #43C6DB">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}
{% if cave.fully_explored %}
<span title="no survex file is explicitly associated with the cave but it is fully explored" style="color: blue">*</span>
{% else %}
<span title="no survex file is explicitly associated with the cave" style="color: red">*</span>
{% endif %}
{% endif %} </td></tr>
{% endfor %}
</table>
</div>
<p style="text-align:right">
<a href="{% url "newcave" %}">New Cave</a><br>
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
</p>
<h3>1624</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves1624 %}
<tr><td><a href="/{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a> {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a> {% endif %}
{% if cave.filename %}
{% if cave.no_location %}<span style="color: black">&#x25B2;</span>{% endif %}
{% if cave.entrances %}
{% else %}<span style="color: orange">&#x25B2;</span>
{% endif %}
{% else %}<span style="color: #43C6DB">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}
{% if cave.fully_explored %}
<span title="no survex file is explicitly associated with the cave but it is fully explored" style="color: blue">*</span>
{% else %}
<span title="no survex file is explicitly associated with the cave" style="color: red">*</span>
{% endif %}
{% endif %} </td></tr>
{% endfor %}
</table>
</div>
<p style="text-align:right">
<a href="{% url "newcave" %}">New Cave</a><br>
<a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a>
</p>
{% endblock %}