troggle-unchained/templates/tunnelfiles.html

40 lines
1.3 KiB
HTML
Raw Normal View History

2011-07-11 02:10:22 +01:00
{% extends "base.html" %}
2021-04-02 20:41:42 +01:00
2011-07-11 02:10:22 +01:00
{% load survex_markup %}
{% block title %}Tunnel files{% endblock %}
{% block content %}
2021-04-07 21:53:43 +01:00
<h3>All Tunnel and Therion files - linked to wallets, survey scans, frames and scraps</h3>
<table style="font-size: 85%" width=95%>
<tr><th>File</th><th>Size</th><th>Paths</th><th>Scans folder</th><th>Scan files</th><th>Frames</th></tr>
2011-07-11 02:10:22 +01:00
{% for tunnelfile in tunnelfiles %}
<tr>
<td><a href="{% url "tunnelfile" tunnelfile.tunnelpath %}">{{tunnelfile.tunnelpath}}</a></td>
<td align="right" style="padding:2px">{{tunnelfile.filesize}}</td>
<td align="right" style="padding:2px">{{tunnelfile.npaths}}</td>
2011-07-11 02:10:22 +01:00
<td style="padding:2px">
{% for scansfolder in tunnelfile.manyscansfolders.all %}
<a href="{{scansfolder.get_absolute_url}}">{{scansfolder.walletname}}</a>
2011-07-11 02:10:22 +01:00
{% endfor %}
</td>
<td style="padding:2px">
{% for singlescan in tunnelfile.scans.all %}
2020-06-24 00:18:01 +01:00
<a href="{{singlescan.get_absolute_url}}">{{singlescan.name}}</a>
2011-07-11 02:10:22 +01:00
{% endfor %}
</td>
<td style="padding:2px">
2011-07-11 02:10:22 +01:00
{% for rtunnelfile in tunnelfile.tunnelcontains.all %}
<a href="{% url "tunnelfile" rtunnelfile.tunnelpath %}">{{rtunnelfile.tunnelpath}}</a>
2011-07-11 02:10:22 +01:00
{% endfor %}
</td>
</tr>
{% endfor %}
</table>
2009-09-11 23:56:47 +01:00
{% endblock %}