summaryrefslogtreecommitdiffstats
path: root/templates/dwgfiles.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-20 23:57:19 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-20 23:57:19 +0100
commit8f0e7435d694a96733de7d95b09f317e993e18d6 (patch)
tree3613ca02d5f77206f86d6914bccb7a87b743bae5 /templates/dwgfiles.html
parentbad5484d126bf0d61a07d642aeb18f9ad4fc9dea (diff)
downloadtroggle-8f0e7435d694a96733de7d95b09f317e993e18d6.tar.gz
troggle-8f0e7435d694a96733de7d95b09f317e993e18d6.tar.bz2
troggle-8f0e7435d694a96733de7d95b09f317e993e18d6.zip
renaming 'tunnel' to 'dwg' in urls and views
Diffstat (limited to 'templates/dwgfiles.html')
-rw-r--r--templates/dwgfiles.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/dwgfiles.html b/templates/dwgfiles.html
new file mode 100644
index 0000000..23fa314
--- /dev/null
+++ b/templates/dwgfiles.html
@@ -0,0 +1,40 @@
+{% extends "base.html" %}
+
+{% load survex_markup %}
+
+{% block title %}Tunnel 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>Scans folder</th><th>Scan files</th><th>Frames</th></tr>
+
+{% for tunnelfile in tunnelfiles %}
+ <tr>
+ <td><a href="{% url "dwgfilesingle" tunnelfile.tunnelpath %}">{{tunnelfile.tunnelpath}}</a></td>
+ <td align="right" style="padding:2px">{{tunnelfile.filesize}}</td>
+ <td align="right" style="padding:2px">{{tunnelfile.npaths}}</td>
+
+ <td style="padding:2px">
+ {% for scansfolder in tunnelfile.manyscansfolders.all %}
+ <a href="{{scansfolder.get_absolute_url}}">{{scansfolder.walletname}}</a>
+ {% endfor %}
+ </td>
+
+ <td style="padding:2px">
+ {% for singlescan in tunnelfile.scans.all %}
+ <a href="{{singlescan.get_absolute_url}}">{{singlescan.name}}</a>
+ {% endfor %}
+ </td>
+
+ <td style="padding:2px">
+ {% for rtunnelfile in tunnelfile.tunnelcontains.all %}
+ <a href="{% url "dwgfilesingle" rtunnelfile.tunnelpath %}">{{rtunnelfile.tunnelpath}}</a>
+ {% endfor %}
+ </td>
+ </tr>
+{% endfor %}
+</table>
+
+{% endblock %} \ No newline at end of file