diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-05 23:14:48 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-05 23:14:48 +0300 |
commit | cc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6 (patch) | |
tree | 51d1b253563f2381a93230e0d980a867429bcfd4 /templates/survexdir.html | |
parent | 8c721e905ad1276b510ad266bd54eb0d8b489038 (diff) | |
download | troggle-cc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6.tar.gz troggle-cc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6.tar.bz2 troggle-cc9f425fb5fa82ac26db4f14c4c484fb7fd85cf6.zip |
Ongoing work to remove SurvexDirectory as a concept
Diffstat (limited to 'templates/survexdir.html')
-rw-r--r-- | templates/survexdir.html | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/templates/survexdir.html b/templates/survexdir.html index 7600077..f0cbf11 100644 --- a/templates/survexdir.html +++ b/templates/survexdir.html @@ -7,16 +7,26 @@ <h1>SurvexDirectory objects</h1> {% endautoescape %} - +<h2>All SurvexDirectories</h2> <table> -<tr><th>Cave</th><th>CaveID</th><th>Path</th><th>Primary</th></tr> +<tr><th>Dir Path</th><th>Primary svx</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> + <tr> <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> +<p> +<h2>All SurvexFiles</h2> +<table> +<tr><th>Cave</th><th>Dir Path</th><th>svx</th></tr> +{% for f in survexfiles %} + <tr> +<td>{{f.cave}}</td> +<td>{{f.survexdirectory.path}}</td> +<td><a href="/survexfile/{{f.path}}">{{f.path}}.svx</a></td> + </tr> +{% endfor %} +</table> {% endblock %} |