summaryrefslogtreecommitdiffstats
path: root/templates/experimental.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/experimental.html')
-rw-r--r--templates/experimental.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/experimental.html b/templates/experimental.html
index d7dbd88..17d96ef 100644
--- a/templates/experimental.html
+++ b/templates/experimental.html
@@ -8,16 +8,16 @@
<h1>Expo Experimental</h1>
-<p>Number of survey legs: {{nsurvexlegs}}, total length: {{totalsurvexlength}}</p>
+<p>Number of survey legs: {{nsurvexlegs}}, total length: {{totalsurvexlength|stringformat:".3f"}} km</p>
<table>
-<tr><th>Year</th><th>Surveys</th><th>Survey Legs</th><th>Total length</th></tr>
+<tr><th>Year</th><th>Surveys</th><th>Survey Legs</th><th>Total length<br>(km)</th></tr>
{% for legs in legsbyexpo %}
<tr>
<td>{{legs.0.year}}</td>
- <td>{{legs.0.survexblock_set.all|length}}</td>
- <td>{{legs.1.nsurvexlegs}}</td>
- <td>{{legs.1.survexleglength}}</td>
+ <td style="text-align:right">{{legs.0.survexblock_set.all|length}}</td>
+ <td style="text-align:right">{{legs.1.nsurvexlegs|rjust:"10"}}</td>
+ <td style="text-align:right">{{legs.1.survexleglength|stringformat:".3f"}}</td>
</tr>
{% endfor %}
</table>