mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 15:21:52 +00:00
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
<!-- 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 %}
|
|
|
|
<h2>All SurvexDirectories</h2>
|
|
<table>
|
|
<tr><th>Dir Path</th><th>Primary svx</th></tr>
|
|
{% for sd in survexdirs %}
|
|
<tr>
|
|
<td><span{% if sd.matchbad %} style="color:red" {% endif %}>{{sd.path}}</span></td>
|
|
<td><a href="/survexfile/{{sd.primarysurvexfile}}.svx"><span {% if sd.pathbad %} style="color:red" {% endif %}>{{sd.primarysurvexfile}}.svx</span></a></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
<p>
|
|
<h2>All SurvexFiles</h2>
|
|
<table>
|
|
<tr><th>Cave</th><th>f.survexdirectory.path</th><th>f.primary.path.parent()</th><th>f.primary</th><th>f.path</th></tr>
|
|
{% for f in survexfiles %}
|
|
<tr>
|
|
<td>{{f.cave}}</td>
|
|
<td><span {% if f.matchbad %} style="color:red" {% endif %}>{{f.survexdirectory.path}}</span></td>
|
|
<td><span {% if f.primarybad %} style="color:red" {% endif %}>{{f.pathparent}}</span></td>
|
|
<td> {{f.primary}}</td>
|
|
<td><span {% if f.pathbad %} style="color:red" {% endif %}><a href="/survexfile/{{f.path}}.svx">{{f.path}}.svx</a></span></td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|