diff options
author | goatchurch <devnull@localhost> | 2009-07-27 13:42:54 +0100 |
---|---|---|
committer | goatchurch <devnull@localhost> | 2009-07-27 13:42:54 +0100 |
commit | 694fe4b4d8325a62489ac5142942fd61598a7612 (patch) | |
tree | 7f42e88ab188bca7a5298434fe0cd90bf13b567e /templates/svxfilecavelist.html | |
parent | dc30f80ce45f98b1c310b75391833214bf7d076f (diff) | |
download | troggle-694fe4b4d8325a62489ac5142942fd61598a7612.tar.gz troggle-694fe4b4d8325a62489ac5142942fd61598a7612.tar.bz2 troggle-694fe4b4d8325a62489ac5142942fd61598a7612.zip |
[svn] some file reading things
Diffstat (limited to 'templates/svxfilecavelist.html')
-rw-r--r-- | templates/svxfilecavelist.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/svxfilecavelist.html b/templates/svxfilecavelist.html new file mode 100644 index 0000000..b8ef5b6 --- /dev/null +++ b/templates/svxfilecavelist.html @@ -0,0 +1,35 @@ +{% extends "base.html" %}
+{% load wiki_markup %}
+{% load link %}
+
+{% block title %}List of survex files{% endblock %}
+
+{% block content %}
+<h1>List of survex directories</h1>
+
+<p>{{message}}</p>
+
+<h2>Caves of multiple files</h2>
+
+<table>
+<tr><th>Primary file</th><th>Survex files</th></tr>
+{% for primarycavefile, subcavefiles in multifilecaves %}
+ <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>
+
+<h2>Caves of one file</h2>
+<p>
+{% for cavepath, cavename in onefilecaves %}
+ <a href="{% url svx cavepath %}">{{cavename}}</a>
+{% endfor %}
+</p>
+
+{% endblock %}
|