2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-01 06:11:51 +00:00
troggle/templates/statistics.html

30 lines
1.0 KiB
HTML
Raw Normal View History

2011-07-11 02:10:22 +01:00
{% extends "base.html" %}
{% load wiki_markup %}
{% load link %}
2011-07-11 02:10:22 +01:00
{% block title %}Expo statistics{% endblock %}
2011-07-11 02:10:22 +01:00
{% block content %}
<h1>Expo Statistics</h1>
<p>{{ expoCount }} expeditions: {{ personCount }} people have contributed {{ caveCount }} caves and {{ logbookEntryCount }} logbook entries.
2020-06-12 14:52:00 +01:00
<p>Number of survey legs: {{nsurvexlegs}}<br />
2020-06-12 18:10:07 +01:00
Total length: {{totalsurvexlength|stringformat:".1f"}} km added-up on importing survex files.<br />
Total length: {{addupsurvexlength|stringformat:".1f"}} km adding up all the years below.</p>
2020-06-12 14:52:00 +01:00
2020-06-12 18:10:07 +01:00
<p>These are raw tape lengths which include pitches, splays and surface-surveys.
<table>
2020-06-12 18:10:07 +01:00
<tr><th>Year</th><th>Survex<br>Surveys</th><th>Survey Legs</th><th>Total length<br>(m)</th></tr>
{% for legs in legsbyexpo %}
<tr>
<td>{{legs.0.year}}</td>
<td style="text-align:right">{{legs.0.survexblock_set.all|length}}</td>
<td style="text-align:right">{{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>
{% endblock %}