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

136 lines
5.3 KiB
HTML
Raw Normal View History

2011-07-11 02:10:22 +01:00
{% extends "cavebase.html" %}
2021-04-02 20:41:42 +01:00
2011-07-11 02:10:22 +01:00
{% block title %}Cave Index{% endblock %}
{% block content %}
<h1>Cave Index</h1>
2019-02-25 23:46:52 +00:00
2011-07-11 02:10:22 +01:00
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
2023-09-10 15:28:13 +01:00
<li> {{ cave.areacode }} <a href="{{ cave.url }}">
2023-05-20 20:47:09 +01:00
{% if cave.kataster_number %}
{{ cave.kataster_number }} {{cave.official_name|safe}}</a>
{% if cave.unofficial_number %}
({{cave.unofficial_number }})
{% endif %}
{% else %}
{{cave.unofficial_number }} {{cave.official_name|safe}}</a>
2023-09-10 15:28:13 +01:00
{% endif %}
2011-07-11 02:10:22 +01:00
{% endfor %}
</ul>
Red star <span style="color: red">*</span> against a name indicates that no survex file is explicitly associated with the cave (but there might be a *fix somewhere)<br />
Blue triangle <span style="color: blue">&#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 />
2023-10-07 17:41:25 +01:00
Black triangle <span style="color: black">&#x25B2;</span> against a name indicates that the cave has an Entrance, but no entrances have located survey stations.
2023-05-20 20:47:09 +01:00
<h3>1623</h3>
2021-04-16 16:01:35 +01:00
<div style="column-count: 3;">
2019-02-25 20:58:32 +00:00
<table class="searchable">
2011-07-11 02:10:22 +01:00
{% for cave in caves1623 %}
2022-06-24 19:28:31 +01:00
<tr><td> <a href="{{ cave.url }}">
{% if cave.kataster_number %}
{{ cave.kataster_number }} {{cave.official_name|safe}}</a>
{% if cave.unofficial_number %}
({{cave.unofficial_number }})
{% endif %}
{% else %}
{{cave.unofficial_number }} {{cave.official_name|safe}}</a>
{% endif %}
{% if cave.filename %}
2023-10-07 17:41:25 +01:00
{% if cave.entrances %}
2023-10-07 22:15:16 +01:00
{% 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>
2023-10-07 17:41:25 +01:00
{% endif %}
2023-10-07 22:15:16 +01:00
{% else %}<span title="the cave is 'pending' creation properly" style="color: blue">&#x25BC;</span>
{% endif %}
2023-10-07 22:15:16 +01:00
{% if cave.survex_file %}{% else %}<span title="no survex file is explicitly associated with the cave (but there might be a *fix somewhere)" style="color: red">*</span>{% endif %}
</td></tr>
2011-07-11 02:10:22 +01:00
{% endfor %}
2019-02-25 20:58:32 +00:00
</table>
2021-04-16 16:01:35 +01:00
</div>
2011-07-11 02:10:22 +01:00
2023-05-20 20:47:09 +01:00
<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>
2023-09-11 18:38:14 +01:00
<div style="column-count: 3;">
2023-05-20 20:47:09 +01:00
<table class="searchable">
{% for cave in caves1626 %}
<tr><td><a href="{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }} {{cave.official_name|safe}}</a> {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} {{cave.official_name|safe}}</a> {% endif %}
{% if cave.filename %}
2023-10-07 17:41:25 +01:00
{% 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: blue">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
</td></tr>
2023-05-20 20:47:09 +01:00
{% 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>
2023-05-20 20:47:09 +01:00
</p>
2023-10-07 22:06:12 +01:00
2023-05-20 20:47:09 +01:00
<h3>1627</h3>
2023-09-11 18:38:14 +01:00
<div style="column-count: 3;">
2023-05-20 20:47:09 +01:00
<table class="searchable">
{% for cave in caves1627 %}
<tr><td><a href="{{ cave.url }}">{% if cave.kataster_number %}{{ cave.kataster_number }} {{cave.official_name|safe}}</a> {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} {{cave.official_name|safe}}</a> {% endif %}
{% if cave.filename %}
2023-10-07 17:41:25 +01:00
{% if cave.no_location %}<span style="color: black">&#x25B2;</span>{% endif %}
{% if cave.entrances %}
{% else %}<span style="color: orange">&#x25B2;</span>
{% endif %}
2023-10-07 17:41:25 +01:00
{% else %}<span style="color: blue">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
</td></tr>
2023-10-07 22:06:12 +01:00
{% 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 }} {{cave.official_name|safe}}</a> {% if cave.unofficial_number %}({{cave.unofficial_number }}){% endif %}{% else %}{{cave.unofficial_number }} {{cave.official_name|safe}}</a> {% endif %}
{% if cave.filename %}
2023-10-07 22:15:16 +01:00
{% if cave.no_location %}<span style="color: black">&#x25B2;</span>{% endif %}
2023-10-07 22:06:12 +01:00
{% if cave.entrances %}
{% else %}<span style="color: orange">&#x25B2;</span>
{% endif %}
{% else %}<span style="color: blue">&#x25BC;</span>
{% endif %}
{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
</td></tr>
2023-05-20 20:47:09 +01:00
{% endfor %}
</table>
2023-10-07 22:06:12 +01:00
</div>
2023-05-20 20:47:09 +01:00
<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>
2011-07-11 02:10:22 +01:00
{% endblock %}