summaryrefslogtreecommitdiffstats
path: root/templates/caveindex.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-10-06 14:57:41 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-10-06 14:57:41 +0300
commitdfdbba6550e790278cec7a0d6f0cc82c542545c6 (patch)
tree6f498555f1faaec424e52ef1e5336801b30b5647 /templates/caveindex.html
parent0a72e50c900c97b8736ba2fb1b00badfaedd242a (diff)
downloadtroggle-dfdbba6550e790278cec7a0d6f0cc82c542545c6.tar.gz
troggle-dfdbba6550e790278cec7a0d6f0cc82c542545c6.tar.bz2
troggle-dfdbba6550e790278cec7a0d6f0cc82c542545c6.zip
Orange &#x25B2; for caves with no Entranes
Diffstat (limited to 'templates/caveindex.html')
-rw-r--r--templates/caveindex.html21
1 files changed, 16 insertions, 5 deletions
diff --git a/templates/caveindex.html b/templates/caveindex.html
index 6828159..510e02d 100644
--- a/templates/caveindex.html
+++ b/templates/caveindex.html
@@ -23,8 +23,10 @@
{% 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)
-
+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 />
+Orange triangle <span style="color: orange">&#x25B2;</span> against a name indicates that the cave has no Entrance.<br />
+<!--Blue triangle <span style="color: blue">&#x25BC;</span> against a name indicates that the cave has an Entrance, but no entrances have located survey stations.-->
+
<h3>1623</h3>
<div style="column-count: 3;">
<table class="searchable">
@@ -37,7 +39,10 @@ Red star <span style="color: red">*</span> against a name indicates that no surv
{% endif %}
{% else %}
{{cave.unofficial_number }} {{cave.official_name|safe}}</a>
- {% endif %}{% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}</</td></tr>
+ {% endif %}
+ {% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
+ {% if cave.entrances %}{% else %}<span style="color: orange">&#x25B2;</span>{% endif %}
+ </td></tr>
{% endfor %}
</table>
@@ -52,7 +57,10 @@ Red star <span style="color: red">*</span> against a name indicates that no surv
<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 }} {{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.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}</td></tr>
+ <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.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
+ {% if cave.entrances %}{% else %}<span style="color: orange">&#x25B2;</span>{% endif %}
+ </td></tr>
{% endfor %}
</table>
@@ -67,7 +75,10 @@ Red star <span style="color: red">*</span> against a name indicates that no surv
<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 }} {{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.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}</</td></tr>
+ <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.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
+ {% if cave.entrances %}{% else %}<span style="color: orange">&#x25B2;</span>{% endif %}
+ </td></tr>
{% endfor %}
</table>