troggle-unchained/templates/dwgfiles.html

36 lines
1.2 KiB
HTML
Raw Normal View History

2011-07-11 02:10:22 +01:00
{% extends "base.html" %}
{% 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%>
2022-03-13 23:48:22 +00:00
<tr><th>File</th><th>Size</th><th>Paths</th><th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>
2021-04-26 18:08:42 +01:00
{% for dwgfile in dwgfiles %}
2011-07-11 02:10:22 +01:00
<tr>
2021-04-26 18:11:14 +01:00
<td><a href="{% url "dwgfilesingle" dwgfile.dwgpath %}">{{dwgfile.dwgpath}}</a></td>
2021-04-26 18:08:42 +01:00
<td align="right" style="padding:2px">{{dwgfile.filesize}}</td>
<td align="right" style="padding:2px">{{dwgfile.npaths}}</td>
2011-07-11 02:10:22 +01:00
<td style="padding:2px">
2021-04-26 19:50:03 +01:00
{% for scanswallet in dwgfile.manywallets.all %}
<a href="{{scanswallet.get_absolute_url}}">{{scanswallet.walletname}}</a>
2011-07-11 02:10:22 +01:00
{% endfor %}
</td>
<td style="padding:2px">
2021-04-26 18:08:42 +01:00
{% for singlescan in dwgfile.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">
2021-04-26 18:54:17 +01:00
{% for rdwgfile in dwgfile.dwgcontains.all %}
2021-04-26 18:11:14 +01:00
<a href="{% url "dwgfilesingle" rdwgfile.dwgpath %}">{{rdwgfile.dwgpath}}</a>
2011-07-11 02:10:22 +01:00
{% endfor %}
</td>
</tr>
{% endfor %}
</table>
2009-09-11 23:56:47 +01:00
{% endblock %}