2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 15:21:52 +00:00
troggle/templates/cave_debug.html

42 lines
848 B
HTML
Raw Normal View History

2023-03-28 15:37:25 +01:00
{% extends "base.html" %}
{% block title %}DEBUG page
<!-- cave_debug.html - this text visible because this template has been included -->
{% endblock %}
{% block content %}
<h2 id="cmult">Entrances</h2>
2023-10-07 00:24:41 +01:00
<p>These are Entrances read from the <var>expoweb/entrance_data/*.html</var> files. These are NOT the *entrance data points in the survex files.
2023-03-28 15:37:25 +01:00
<table>
2023-03-28 19:26:37 +01:00
<tr><th>entrance</th>
<th>ent slug</th>
2023-11-08 13:34:36 +00:00
<th>Best station </th>
<th>Location</th>
<<th>Bearings</th>
2023-03-28 15:37:25 +01:00
</tr>
{% for ent in ents %}
2023-11-08 00:12:21 +00:00
{% if ent.bearings %}
2023-03-28 15:37:25 +01:00
<tr>
2023-11-08 00:12:21 +00:00
2023-03-28 15:37:25 +01:00
<td>
#{{ent.id}} {{ent}}
2023-03-28 15:37:25 +01:00
</td>
<td>
2023-11-08 00:12:21 +00:00
{{ent.slug}}
2023-03-28 15:37:25 +01:00
</td>
<td>
2023-10-07 00:24:41 +01:00
{% if ent.best_station %}{{ent.best_station}}{% endif %}
2023-03-28 15:37:25 +01:00
</td>
<td>
2023-10-07 00:24:41 +01:00
{% if ent.best_station %}{{ent.best_station_object.latlong}}{% endif %}
2023-03-28 15:37:25 +01:00
</td>
2023-11-08 00:12:21 +00:00
<td>
2023-11-08 13:43:19 +00:00
{{ent.bearings|safe}}
2023-11-08 00:12:21 +00:00
</td>
{% endif %}
2023-03-28 15:37:25 +01:00
{% endfor %}
</table>
{% endblock %}