mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 11:28:23 +00:00
Shorter, faster default caves index list
This commit is contained in:
5
templates/cave_red_star.html
Normal file
5
templates/cave_red_star.html
Normal file
@@ -0,0 +1,5 @@
|
||||
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">▼</span> against a name indicates that the cave is 'pending' creation properly.<br />
|
||||
Orange triangle <span style="color: orange">▲</span> against a name indicates that the cave has no Entrance (and is not 'pending').<br />
|
||||
Black triangle <span style="color: black">▲</span> against a name indicates that the cave has an Entrance, but no entrances have valid located survey stations.
|
||||
@@ -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">▼</span> against a name indicates that the cave is 'pending' creation properly.<br />
|
||||
Orange triangle <span style="color: orange">▲</span> against a name indicates that the cave has no Entrance (and is not 'pending').<br />
|
||||
Black triangle <span style="color: black">▲</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">▲</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>
|
||||
|
||||
110
templates/cavesallindex.html
Normal file
110
templates/cavesallindex.html
Normal file
@@ -0,0 +1,110 @@
|
||||
{% 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>
|
||||
|
||||
{% include 'cave_red_star.html' %}
|
||||
|
||||
<p>Go to <a href="/caves">Recent Caves</a> for a shorter list of recent caves.
|
||||
|
||||
<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>This year's caves</h3>
|
||||
<div style="column-count: 3;">
|
||||
<table class="searchable">
|
||||
{% for cave in caves_this_year %}
|
||||
{% include 'cavelist_columns.html' %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h3>Last year's caves</h3>
|
||||
<div style="column-count: 3;">
|
||||
<table class="searchable">
|
||||
{% for cave in caves_last_year %}
|
||||
{% include 'cavelist_columns.html' %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<h3>1623</h3>
|
||||
<div style="column-count: 3;">
|
||||
<table class="searchable">
|
||||
{% for cave in caves1623 %}
|
||||
{% 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 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 %}
|
||||
Reference in New Issue
Block a user