diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2023-09-06 17:19:20 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2023-09-06 17:19:20 +0300 |
commit | 0dc0e275193457d1875ca1690168112a61b4bca4 (patch) | |
tree | 774f1c92d20fedcdaf10e48c6843b536af64341b /templates/survexdir.html | |
parent | 3c6cae20eda7dc060aa5bc3fe8da400699130025 (diff) | |
download | troggle-0dc0e275193457d1875ca1690168112a61b4bca4.tar.gz troggle-0dc0e275193457d1875ca1690168112a61b4bca4.tar.bz2 troggle-0dc0e275193457d1875ca1690168112a61b4bca4.zip |
moving primary survex file to each survexfile
Diffstat (limited to 'templates/survexdir.html')
-rw-r--r-- | templates/survexdir.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/survexdir.html b/templates/survexdir.html index f0cbf11..e2e2747 100644 --- a/templates/survexdir.html +++ b/templates/survexdir.html @@ -12,20 +12,22 @@ <tr><th>Dir Path</th><th>Primary svx</th></tr> {% for sd in survexdirs %} <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> + <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>Dir Path</th><th>svx</th></tr> +<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>{{f.survexdirectory.path}}</td> -<td><a href="/survexfile/{{f.path}}">{{f.path}}.svx</a></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> |