2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-05-22 17:36:03 +01:00

New SurvexDirectory report

This commit is contained in:
2023-09-05 21:46:10 +03:00
parent 8e2990ca7a
commit 8c721e905a
5 changed files with 51 additions and 1 deletions
+22
View File
@@ -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 %}