2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-27 17:51:53 +00:00
troggle/templates/dwgfiles.html

37 lines
1.3 KiB
HTML

<!-- dwgfiles.html - this text visible because this template has been included -->
{% extends "base.html" %}
{% block title %}Drawings files{% endblock %}
{% block content %}
<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>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr>
{% for dwgfile in dwgfiles %}
<tr>
<td><a href="{% url "dwgfilesingle" dwgfile.dwgpath %}">{{dwgfile.dwgpath}}</a></td>
<td align="right" style="padding:2px">{{dwgfile.filesize}}</td>
<td align="right" style="padding:2px">{{dwgfile.npaths}}</td>
<td style="padding:2px">
{% for scanswallet in dwgfile.dwgwallets.all %}
<a href="{{scanswallet.get_absolute_url}}">{{scanswallet.walletname}}</a>
{% endfor %}
</td>
<td style="padding:2px">
{% for singlescan in dwgfile.scans.all %}
<a href="{{singlescan.get_absolute_url}}">{{singlescan.name}}</a>
{% endfor %}
</td>
<td style="padding:2px">
{% for rdwgfile in dwgfile.dwgcontains.all %}
<a href="{% url "dwgfilesingle" rdwgfile.dwgpath %}">{{rdwgfile.dwgpath}}</a>
{% endfor %}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}