2011-07-11 02:10:22 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block title %}List of survex files{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<p><a href="#cdir">caves with subdirectories</a> | <a href="#cmult">caves with multiple files</a> | <a href="#csing">caves with single files</a></p>
|
|
|
|
|
2021-03-23 17:35:41 +00:00
|
|
|
<!-- <h3><a href="/survexfile/all.svx">Link to all.svx for processing</a></h3> <!-- This is not right...-->
|
2011-07-11 02:10:22 +01:00
|
|
|
|
|
|
|
<h2 id="cdir">Caves with subdirectories</h2>
|
|
|
|
|
|
|
|
{% for subdircave, cavefiles, subsurvdirs in subdircaves %}
|
2018-04-11 22:02:57 +01:00
|
|
|
<h3>{{cavefiles.0.1}} - <a href="{% url "survexcavessingle" cavefiles.0.1 %}">dates and explorers</a></h3>
|
2011-07-11 02:10:22 +01:00
|
|
|
<table>
|
|
|
|
<tr>
|
2018-04-11 22:02:57 +01:00
|
|
|
<td><b><a href="{% url "svx" cavefiles.0.0 %}">{{cavefiles.0.1}}</a></b></td>
|
2011-07-11 02:10:22 +01:00
|
|
|
<td>
|
|
|
|
{% for cavepath, cavename in cavefiles.1 %}
|
2018-04-11 22:02:57 +01:00
|
|
|
<a href="{% url "svx" cavepath %}">{{cavename}}</a>
|
2011-07-11 02:10:22 +01:00
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-03-25 16:15:26 +00:00
|
|
|
{% for name, primarycavefile, subcavefiles in subsurvdirs %}
|
2011-07-11 02:10:22 +01:00
|
|
|
<tr>
|
2021-03-25 16:15:26 +00:00
|
|
|
<td><a href="{% url "svx" primarycavefile.0 %}">{{name}}</a></td>
|
2011-07-11 02:10:22 +01:00
|
|
|
<td>
|
|
|
|
{% for cavepath, cavename in subcavefiles %}
|
2018-04-11 22:02:57 +01:00
|
|
|
<a href="{% url "svx" cavepath %}">{{cavename}}</a>
|
2011-07-11 02:10:22 +01:00
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
|
|
|
|
<h2 id="cmult">Caves of multiple files</h2>
|
|
|
|
<table>
|
|
|
|
<tr><th>Dates and explorers</th><th>Survex files</th></tr>
|
2021-03-24 15:46:35 +00:00
|
|
|
{% for primarycavefile, cavedir, subcavefiles in multifilecaves %}
|
2011-07-11 02:10:22 +01:00
|
|
|
<tr>
|
|
|
|
<td>
|
2021-03-24 15:46:35 +00:00
|
|
|
<a href="{% url "survexcavessingle" cavedir %}">{{cavedir}}</a> <!-- formerly primarycavefile.1 -->
|
2011-07-11 02:10:22 +01:00
|
|
|
</td>
|
|
|
|
<td>
|
2018-04-11 22:02:57 +01:00
|
|
|
<a href="{% url "svx" primarycavefile.0 %}">{{primarycavefile.1}}</a> -
|
2011-07-11 02:10:22 +01:00
|
|
|
{% for cavepath, cavename in subcavefiles %}
|
2018-04-11 22:02:57 +01:00
|
|
|
<a href="{% url "svx" cavepath %}">{{cavename}}</a>
|
2011-07-11 02:10:22 +01:00
|
|
|
{% endfor %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2 id="csing">Caves of one file</h2>
|
|
|
|
<p>
|
|
|
|
{% for cavepath, cavename in onefilecaves %}
|
2018-04-11 22:02:57 +01:00
|
|
|
<a href="{% url "svx" cavepath %}">{{cavename}}</a>
|
2011-07-11 02:10:22 +01:00
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
|
|
|
|
{% endblock %}
|