From 19c3f02c2d7ea8e98c7812dbe1bf9e6937e9c663 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Fri, 29 Aug 2025 19:38:23 +0300 Subject: [PATCH] more gpx fix --- core/views/uploads.py | 3 +++ templates/gpxfixform.html | 44 ++++++++++++++++++++++++++++++++------- 2 files changed, 40 insertions(+), 7 deletions(-) diff --git a/core/views/uploads.py b/core/views/uploads.py index c66b8bc..c43a38e 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -82,6 +82,9 @@ class GPXuploadForm(forms.Form): # not a model-form, just a form-form class gpxfixForm(forms.Form): # not a model-form, just a form-form prospector = forms.CharField(strip=True) + areacode = forms.CharField(strip=True) + station = forms.CharField(strip=True) + class FilesRenameForm(forms.Form): # not a model-form, just a form-form """Used only for renaming photos in /expofiles/photos/ diff --git a/templates/gpxfixform.html b/templates/gpxfixform.html index b4a456f..b495ffe 100644 --- a/templates/gpxfixform.html +++ b/templates/gpxfixform.html @@ -21,7 +21,36 @@
+ for="renameto">You can rename the file
+ + + + +
+ + + + +
+ + + +


- - +

This GPX file has x locations of which y (_%) have been averaged to produce a a location:
+

+[1623]
+*fix p2025-WW-01 13.8229370 47.6874630 1871
+*entrance p2025-WW-01
+