2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 01:01:53 +00:00
troggle/templates/eastings.html
2021-05-07 23:46:11 +01:00

40 lines
1.5 KiB
HTML

{% extends "base.html" %}
{% block title %}Cave Entrance locations in UTM{% endblock %}
{% block content %}
<h1>Entrance locations</h1>
<p>
These are all the locations specified in Northing/Easting coordinates in the system.
<table>
<tr><th>Cave</th><th>Entrance</th><th>Easting</th><th>Northing</th><th>tag</th><th>tag exact</th><th>tag other</th><th>slug</th></tr>
{% for ent in ents %}
<tr>
<td style="text-align:left"><a href="/cave/{{ent.cached_primary_slug}}">
{% for c in ent.cavelist %}{{c.official_name|safe}}{% endfor %}</a></td>
<td style="text-align:left">{{ent.name|safe}}</td>
<td style="text-align:right">{{ent.easting|floatformat:2}}</td>
<td style="text-align:right">{{ent.northing|floatformat:2}}</td>
<td style="text-align:right">{{ent.tag_station}}</td>
<td style="text-align:right">{{ent.exact_station}}</td>
<td style="text-align:right">{{ent.other_station}}</td>
<td style="text-align:right">{{ent.slug}}</td>
</tr>
{% endfor %}
</table>
<p>But the Entrances - the objects in the troggle system - are not properly connected to the dataset which is the combined set of survex data. They are only linked - and only implicitly - by the tag name.
<table cellpadding="6" cellspacing="8">
<tr><th>Survex Station</th><th>x</th><th>y</th></tr>
{% for s in stations %}
<tr>
<td style="text-align:left; width:240px"> {{s.name|safe}} </td>
<td style="text-align:right; width:90px"> {{s.x|floatformat:2}} </td>
<td style="text-align:right; width:90px"> {{s.y|floatformat:2}} </td>
</tr>
{% endfor %}
</table>
{% endblock %}