summaryrefslogtreecommitdiffstats
path: root/templates/tunnelfiles.html
blob: fbc74ea0cdcd459bf6b765f543dc24b37af6132e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{% extends "base.html" %}
{% load wiki_markup %}
{% load survex_markup %}

{% block title %}Tunnel files{% endblock %}

{% block content %}

<h3>All Tunnel files</h3>
<table>
<tr><th>File</th><th>Font</th><th>SurvexBlocks</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 "tunnelfile" tunnelfile.tunnelpath %}">{{tunnelfile.tunnelpath}}</a></td>
    <td>{{tunnelfile.bfontcolours}}</td>
    <td></td>
    <td>{{tunnelfile.filesize}}</td>
    <td>{{tunnelfile.npaths}}</td>   

    <td>
    {% for survexscansfolder in tunnelfile.survexscansfolders.all %}
      <a href="{{survexscansfolder.get_absolute_url}}">{{survexscansfolder.walletname}}</a>
    {% endfor %}
    </td>   

    <td>
    {% for survexscansingle in tunnelfile.survexscans.all %}
      <a href="{{survexscansingle.get_absolute_url}}">{{survexscansingle.name}}</a>
    {% endfor %}
    </td>   

    <td>
    {% for rtunnelfile in tunnelfile.tunnelcontains.all %}
      <a href="{% url "tunnelfile" rtunnelfile.tunnelpath %}">{{rtunnelfile.tunnelpath}}</a>
    {% endfor %}
    </td>   


  </tr>
{% endfor %}
</table>

{% endblock %}