summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/entrancetags.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/templates/entrancetags.html b/templates/entrancetags.html
new file mode 100644
index 0000000..7f1fc42
--- /dev/null
+++ b/templates/entrancetags.html
@@ -0,0 +1,59 @@
+{% extends "cavebase.html" %}
+
+
+{% block title %}Entrance Tag Status{% endblock %}
+
+{% block content %}
+<style>
+table, th, td {
+ border: 1px solid black;
+ border-collapse: collapse;
+}
+</style>
+<h1>Entrance Tag Status</h1>
+<p>
+This list excludes those entrances with valid coordinates (which may or may not have tags), irrespective of the "findability" value. <br />
+[Many entrances have out-dated settings for "findability".]
+<h2>1623</h2>
+<table>
+<theader>
+<tr><th width="16">Entrance</th><th width="16">Cave</th><th width="2">Find..</th><th width="2">Mark</th><th width="40%">Marking & <em>Location</em></th></tr>
+</theader>
+<tbody>
+<ul>
+{% for entrance in entrances %}
+<tr><td>
+{% if entrance.best_station %}
+<a href="/stations#{{ entrance.best_station }}">{% endif %}
+{{ entrance.name }}</a></td>
+<td>{% for cave in entrance.cavelist %}<a href="{{ cave.url }}">{{ cave.number }}</a>{% endfor %}</td>
+
+<td>{% if entrance.findability%}
+{% if entrance.lat %}<a href="{{ entrance.firstcave.url }}">{% endif %}
+
+{{ entrance.get_findability_display}}</a>
+
+{% endif %}
+</td>
+<td id="{{ entrance.best_station }}">
+{% if entrance.marking%}
+<a href="https://www.openstreetmap.org/?mlat={{ entrance.lat|floatformat:7}}&mlon={{entrance.long|floatformat:7}}">
+{{ entrance.get_marking_display }}</a>
+{% endif %}
+</td>
+
+<td>
+<font color="blue"> {{ entrance.firstcave.official_name|safe }}</font><br />
+{% if entrance.marking_comment%}{{ entrance.marking_comment|safe }}<br />{% endif %}
+<em>
+{{ entrance.location_description|safe }}</em>
+</td>
+
+</tr>
+{% endfor %}
+</tbody>
+</ul>
+
+
+
+{% endblock %}