troggle-unchained/templates/statistics.html

34 lines
1.3 KiB
HTML
Raw Normal View History

2011-07-11 02:10:22 +01:00
{% extends "base.html" %}
{% block title %}Expo statistics{% endblock %}
2011-07-11 02:10:22 +01:00
{% block content %}
2021-03-27 20:05:15 +00:00
<h1>Expedition Statistics</h1>
2020-07-02 16:24:39 +01:00
<p>{{ expoCount }} expeditions: {{ personCount }} people, {{ caveCount }} caves and {{ logbookEntryCount }} logbook entries.
<p>Number of survey legs: {{nsurvexlegs}} &laquo;Removed from model, needs calculating..&raquo;<br />
2020-07-02 16:24:39 +01:00
Total length: {{addupsurvexlength|stringformat:".1f"}} km adding up the total for each year.</p>
2020-06-12 14:52:00 +01:00
2020-07-04 13:31:46 +01:00
<p>These are uncorrected tape lengths which include pitches and duplicates but exclude splays or surface-surveys.
2020-07-02 16:24:39 +01:00
<p>
2021-03-27 20:05:15 +00:00
This is work in progress (March 2021).
2020-07-02 16:24:39 +01:00
<table>
2020-07-02 16:24:39 +01:00
<tr><th>Year</th><th>Survex<br>Survey<br>Blocks</th><th>Survex<br>Survey Legs</th><th>Total length<br>(m)</th></tr>
{% for legs in legsbyexpo %}
<tr>
2021-03-27 20:05:15 +00:00
<td style="text-align:center"><a href="{{ legs.0.get_absolute_url }}">{{legs.0}}</a></td>
2020-07-02 16:24:39 +01:00
<td style="text-align:center">{{legs.0.survexblock_set.all|length}}</td>
<td style="text-align:center">{{legs.1.nsurvexlegs|rjust:"10"}} </td>
2020-06-12 18:10:07 +01:00
<td style="text-align:right">{{legs.1.survexleglength}}</td>
</tr>
{% endfor %}
</table>
2020-07-02 16:24:39 +01:00
<p>One Survex Survey Block is one *begin/*end block of data in a survex file.
Some files from other caving clubs may have a convention of using many more blocks per file than we do, e.g. if the
file is exported from other software into survex format.
2021-03-27 20:05:15 +00:00
{% endblock %}