<!-- 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>



{% endblock %}