2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 11:39:49 +00:00

Shorter, faster default caves index list

This commit is contained in:
2025-07-28 18:17:54 +02:00
parent c82ed82aba
commit 89e38397b9
5 changed files with 168 additions and 64 deletions

View File

@@ -1,10 +1,10 @@
{% extends "cavebase.html" %}
{% block title %}Cave Index{% endblock %}
{% block title %}Recent Caves Index{% endblock %}
{% block content %}
<h1>Cave Index</h1>
<h1>Recent Caves Index</h1>
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
@@ -20,11 +20,9 @@
{% 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.
{% include 'cave_red_star.html' %}
<p>
See <em><a href="/cavesall">All Caves</a></em> for all the caves in areas 1623, 1626, 1624, 1627
<p style="text-align:right">
<a href="{% url "newcave" %}">New Cave</a><br>
@@ -51,59 +49,16 @@ Black triangle <span style="color: black">&#x25B2;</span> against a name indicat
</table>
</div>
<h3>1623</h3>
<h3>Previous year's caves</h3>
<div style="column-count: 3;">
<table class="searchable">
{% for cave in caves1623 %}
{% for cave in caves_previous_year %}
{% include 'cavelist_columns.html' %}
{% 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 %}
{% include 'cavelist_columns.html' %}
{% 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 %}
{% include 'cavelist_columns.html' %}
{% 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 %}
{% include 'cavelist_columns.html' %}
{% endfor %}
</table>
</div>
<p>
See <em><a href="/cavesall">All Caves</a></em> for all the caves in areas 1623, 1626, 1624, 1627
<p style="text-align:right">
<a href="{% url "newcave" %}">New Cave</a><br>