Add list of entrances

This commit is contained in:
Martin Green
2023-07-03 08:00:03 +01:00
parent e4fe5eaf5d
commit b91223da66
3 changed files with 38 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
{% extends "cavebase.html" %}
{% block title %}Entrance Index{% endblock %}
{% block content %}
<h1>Entrance Index</h1>
<table>
<theader>
<tr><th>Name</th><th>Point</th><th>Position</th>tr>
</theader>
<tbody>
<ul>
{% for entrance in entrances %}
<tr><td>{{ entrance }}</td><td>{{ entrance.best_station }}</td><td>{{ entrance.latlong }}</td></tr>
{% endfor %}
</tbody>
</ul>
{% endblock %}