summaryrefslogtreecommitdiffstats
path: root/templates/survexdir.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/survexdir.html')
-rw-r--r--templates/survexdir.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/survexdir.html b/templates/survexdir.html
new file mode 100644
index 0000000..7600077
--- /dev/null
+++ b/templates/survexdir.html
@@ -0,0 +1,22 @@
+<!-- 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>SurvexDirectory objects</h1>
+{% endautoescape %}
+
+
+<table>
+<tr><th>Cave</th><th>CaveID</th><th>Path</th><th>Primary</th></tr>
+{% for sd in survexdirs %}
+ <tr>
+ <td><span {% if sd.cavebad %} style="color:red" {% endif %}> {{sd.cave}}</span></td>
+ <td><em>{{sd.cave.id}}</em></td>
+ <td>{{sd.path}}</td>
+ <td><a href="/survexfile/{{sd.primarysurvexfile}}"><span {% if sd.pathbad %} style="color:red" {% endif %}>{{sd.primarysurvexfile}}.svx</span></a><span {% if sd.primarybad %} style="color:blue"> <b>MISMATCH</b> {% endif %}</span></td>
+ </tr>
+{% endfor %}
+</table>
+{% endblock %}