2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-03-31 15:16:03 +01:00

refactored and extended gpxfix()

This commit is contained in:
2025-10-27 19:41:32 +02:00
parent 78699b934d
commit c08d06d81f
2 changed files with 120 additions and 101 deletions

View File

@@ -11,9 +11,9 @@
<div style = "max-width:35%; margin-left:20%; text-align: left" >
<form method ='post' enctype ="multipart/form-data">
{% csrf_token %}
{% csrf_token %}
<br>
<input class="fancybutton2" type = "file" multiple="multiple"
<input class="fancybutton2" type = "file" multiple="multiple" required
name = "uploadfiles" id="uploadfiles" />
<br><br><br>
@@ -60,8 +60,8 @@
{% endfor %}
</p>
{% endif %}
<strong style="font-size: 110%;">Files already here:</strong><br>
<p>
<strong style="font-size: 110%;">Files already here:</strong> in {{yearpath}}<br>
{% for f in files %}
<a href="{{urlfile|urlencode}}/{{f|urlencode}}">{{f}}</a><br />
{% empty %}
@@ -73,9 +73,13 @@
<hr>
<p>This GPX file has x locations of which y (_%) have been averaged to produce a a location:<br>
<pre>
[1623]
*fix p2025-WW-01 13.8229370 47.6874630 1871
*entrance p2025-WW-01
{% for f in actual_saved %}
[{{ areacode }}]
{{ fixstring }}
{{ entrancestring }}
{% endfor %}
</pre>
<p>