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

33 lines
948 B
HTML

<!-- svxcavesingle.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% block title %}List of survex directories{% endblock %}
{% block content %}
{% autoescape off %}
<h1>Survex Primary files: per Cave and per directory</h1>
{% endautoescape %}
<h2>All SurvexFiles</h2>
<table>
<tr><th>Cave</th><th>Cave primary</th><th>f.primary</th><th>f.path</th></tr>
{% for f in survexfiles %}
<tr>
<td><a href="/cave/{{f.cave}}">{{f.cave}}</a> {{f.cave.areacode}}{% if f.cave.subarea %}-{{f.cave.subarea}}{% endif %}</td>
<td>{{f.cave.survex_file}}</td>
<td> {{f.primary}}.svx</td>
<td><span {% if f.pathbad %} style="color:red" {% endif %}><a href="/survexfile/{{f.path}}.svx">{{f.path}}.svx</a></span></td>
</tr>
{% endfor %}
</table>
<table>
<tr><th>Cave</th><th>Cave url</th></tr>
{% for c in caves %}
<tr>
<td>{{c}}</td>
<td>{{c.url}}</td>
</tr>
{% endfor %}
</table>
{% endblock %}