mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-15 02:37:14 +00:00
tidied format of caves index page
This commit is contained in:
@@ -34,36 +34,13 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
<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 %}
|
||||
<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">▲</span>{% endif %}
|
||||
{% else %}<span title="the cave has no Entrance (and is not 'pending')" style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span title="the cave is 'pending' creation properly" style="color: #43C6DB">▼</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>
|
||||
|
||||
{% include 'cavelist_columns.html' %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
@@ -72,32 +49,7 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
<div style="column-count: 3;">
|
||||
<table class="searchable">
|
||||
{% for cave in caves_last_year %}
|
||||
<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">▲</span>{% endif %}
|
||||
{% else %}<span title="the cave has no Entrance (and is not 'pending')" style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span title="the cave is 'pending' creation properly" style="color: #43C6DB">▼</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>
|
||||
|
||||
{% include 'cavelist_columns.html' %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
@@ -106,32 +58,7 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
<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">▲</span>{% endif %}
|
||||
{% else %}<span title="the cave has no Entrance (and is not 'pending')" style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span title="the cave is 'pending' creation properly" style="color: #43C6DB">▼</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>
|
||||
|
||||
{% include 'cavelist_columns.html' %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
@@ -145,23 +72,7 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
<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">▲</span>{% endif %}
|
||||
{% else %}<span style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span style="color: #43C6DB">▼</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>
|
||||
|
||||
{% include 'cavelist_columns.html' %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
@@ -176,22 +87,7 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
<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">▲</span>{% endif %}
|
||||
{% if cave.entrances %}
|
||||
{% else %}<span style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span style="color: #43C6DB">▼</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>
|
||||
{% include 'cavelist_columns.html' %}
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
@@ -205,23 +101,8 @@ Black triangle <span style="color: black">▲</span> against a name indicat
|
||||
<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">▲</span>{% endif %}
|
||||
{% if cave.entrances %}
|
||||
{% else %}<span style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span style="color: #43C6DB">▼</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 %}
|
||||
{% include 'cavelist_columns.html' %}
|
||||
|
||||
{% endif %} </td></tr>
|
||||
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
|
||||
25
templates/cavelist_columns.html
Normal file
25
templates/cavelist_columns.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<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">▲</span>{% endif %}
|
||||
{% else %}<span title="the cave has no Entrance (and is not 'pending')" style="color: orange">▲</span>
|
||||
{% endif %}
|
||||
{% else %}<span title="the cave is 'pending' creation properly" style="color: #43C6DB">▼</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>
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<h1>Entrance Index</h1>
|
||||
|
||||
{% for entrance in entrances %}{% if entrance.lat_wgs84 %}<a href="{{ entrance.firstcave.url }}">{{ entrance }}</a> has "floating" lat/long <em>{{entrance.lat_wgs84}} N, {{entrance.long_wgs84}} E</em> instead of having a proper tag station or other station<br />{% endif %}{% endfor %}
|
||||
{% for entrance in entrances %}{% if entrance.lat_wgs84 %}<a href="{{ entrance.firstcave.url }}">{{ entrance }}</a> has "floating" lat/long <em>{{entrance.lat_wgs84}} N, {{entrance.long_wgs84}} E</em> [instead of/as well as] having a proper tag station or other station<br />{% endif %}{% endfor %}
|
||||
<p>
|
||||
<table>
|
||||
<theader>
|
||||
|
||||
Reference in New Issue
Block a user