summaryrefslogtreecommitdiffstats
path: root/templates/caveindex.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-07-02 13:15:34 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2024-07-02 13:15:34 +0300
commitc58f2716b0a8143b8259919ee1057e7d7c162fa8 (patch)
tree2e0669da9ee4aee5425868cd3e6f527961b16056 /templates/caveindex.html
parente4d3e33dec40fe9b494c46a486172055a2e80e00 (diff)
downloadtroggle-c58f2716b0a8143b8259919ee1057e7d7c162fa8.tar.gz
troggle-c58f2716b0a8143b8259919ee1057e7d7c162fa8.tar.bz2
troggle-c58f2716b0a8143b8259919ee1057e7d7c162fa8.zip
chnage to cave data model field: fully_explored, taken from kataster code
Diffstat (limited to 'templates/caveindex.html')
-rw-r--r--templates/caveindex.html42
1 files changed, 34 insertions, 8 deletions
diff --git a/templates/caveindex.html b/templates/caveindex.html
index 560eb1b..f444905 100644
--- a/templates/caveindex.html
+++ b/templates/caveindex.html
@@ -23,7 +23,8 @@
{% 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 />
+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.
@@ -48,7 +49,14 @@ Black triangle <span style="color: black">&#x25B2;</span> against a name indicat
{% endif %}
{% else %}<span title="the cave is 'pending' creation properly" style="color: #43C6DB">&#x25BC;</span>
{% endif %}
- {% 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 %}
+ {% 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>
{% endfor %}
@@ -72,8 +80,14 @@ Black triangle <span style="color: black">&#x25B2;</span> against a name indicat
{% endif %}
{% else %}<span style="color: #43C6DB">&#x25BC;</span>
{% endif %}
- {% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
- </td></tr>
+ {% 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>
{% endfor %}
</table>
@@ -97,8 +111,14 @@ Black triangle <span style="color: black">&#x25B2;</span> against a name indicat
{% endif %}
{% else %}<span style="color: #43C6DB">&#x25BC;</span>
{% endif %}
- {% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
- </td></tr>
+ {% 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>
{% endfor %}
</table>
</div>
@@ -120,8 +140,14 @@ Black triangle <span style="color: black">&#x25B2;</span> against a name indicat
{% endif %}
{% else %}<span style="color: #43C6DB">&#x25BC;</span>
{% endif %}
- {% if cave.survex_file %}{% else %}<span style="color: red">*</span>{% endif %}
- </td></tr>
+ {% 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>
{% endfor %}
</table>