troggle-unchained/templates/svxfilecavelist.html

67 lines
1.8 KiB
HTML
Raw Normal View History

2009-07-27 13:42:54 +01:00
{% extends "base.html" %}
{% load wiki_markup %}
{% load link %}
{% 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>
2009-07-27 13:42:54 +01:00
<h3><a href="/survexfile/all.svx">Link to all.svx for processing</a></h3>
<h2 id="cdir">Caves with subdirectories</h2>
2009-07-27 13:42:54 +01:00
{% for subdircave, cavefiles, subsurvdirs in subdircaves %}
<h3>{{cavefiles.0.1}} - <a href="{% url survexcavessingle cavefiles.0.1 %}">dates and explorers</a></h3>
<table>
<tr>
<td><b><a href="{% url svx cavefiles.0.0 %}">{{cavefiles.0.1}}</a></b></td>
<td>
{% for cavepath, cavename in cavefiles.1 %}
<a href="{% url svx cavepath %}">{{cavename}}</a>
{% endfor %}
</td>
</tr>
{% for primarycavefile, subcavefiles in subsurvdirs %}
<tr>
<td><a href="{% url svx primarycavefile.0 %}">{{primarycavefile.1}}</a></td>
<td>
{% for cavepath, cavename in subcavefiles %}
<a href="{% url svx cavepath %}">{{cavename}}</a>
{% endfor %}
</td>
</tr>
{% endfor %}
</table>
{% endfor %}
2009-07-27 13:42:54 +01:00
<h2 id="cmult">Caves of multiple files</h2>
2009-07-27 13:42:54 +01:00
<table>
<tr><th>Dates and explorers</th><th>Survex files</th></tr>
2009-07-27 13:42:54 +01:00
{% for primarycavefile, subcavefiles in multifilecaves %}
<tr>
<td>
<a href="{% url survexcavessingle primarycavefile.1 %}">{{primarycavefile.1}}</a>
</td>
2009-07-27 13:42:54 +01:00
<td>
<a href="{% url svx primarycavefile.0 %}">{{primarycavefile.1}}</a> -
2009-07-27 13:42:54 +01:00
{% for cavepath, cavename in subcavefiles %}
<a href="{% url svx cavepath %}">{{cavename}}</a>
{% endfor %}
</td>
</tr>
2009-07-27 13:42:54 +01:00
{% endfor %}
</table>
<h2 id="csing">Caves of one file</h2>
2009-07-27 13:42:54 +01:00
<p>
{% for cavepath, cavename in onefilecaves %}
<a href="{% url svx cavepath %}">{{cavename}}</a>
{% endfor %}
</p>
{% endblock %}