forked from expo/troggle
more gpx fix
This commit is contained in:
@@ -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
|
class gpxfixForm(forms.Form): # not a model-form, just a form-form
|
||||||
prospector = forms.CharField(strip=True)
|
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
|
class FilesRenameForm(forms.Form): # not a model-form, just a form-form
|
||||||
"""Used only for renaming photos in /expofiles/photos/
|
"""Used only for renaming photos in /expofiles/photos/
|
||||||
|
|||||||
@@ -21,7 +21,36 @@
|
|||||||
<br />
|
<br />
|
||||||
<label
|
<label
|
||||||
style="padding: 0.5em 25px; margin-left: 110px"
|
style="padding: 0.5em 25px; margin-left: 110px"
|
||||||
for="renameto">You can rename it<br></label>
|
for="renameto">You can rename the file<br></label>
|
||||||
|
|
||||||
|
<input class="fancybutton2" style="padding: 0.5em 25px; margin-left: 125px"
|
||||||
|
label = "prospector" name = "prospector" id="prospector"
|
||||||
|
pattern="[A-Za-z]+"
|
||||||
|
placeholder="Wookey" required />
|
||||||
|
<label
|
||||||
|
style="padding: 0.5em 25px; margin-left: 110px"
|
||||||
|
for="prospector">your name<br></label>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<input class="fancybutton2" style="padding: 0.5em 25px; margin-left: 125px"
|
||||||
|
label = "areacode" name = "areacode" id="areacode"
|
||||||
|
pattern="[A-Za-z]+"
|
||||||
|
placeholder="1623" required />
|
||||||
|
<label
|
||||||
|
style="padding: 0.5em 25px; margin-left: 110px"
|
||||||
|
for="areacode" ><br>the area code for this station<br></label>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<input class="fancybutton2" style="padding: 0.5em 25px; margin-left: 125px"
|
||||||
|
label = "station" name = "station" id="station"
|
||||||
|
pattern="[A-Za-z]+"
|
||||||
|
placeholder="p2025-WW-01" required />
|
||||||
|
<label
|
||||||
|
style="padding: 0.5em 25px; margin-left: 110px"
|
||||||
|
for="station" >proposed station identifier<br></label>
|
||||||
|
|
||||||
<br><br><br>
|
<br><br><br>
|
||||||
<button class="fancybutton2" style="padding: 0.5em 25px; margin-left: 155px" type = "submit" value = "Upload" >
|
<button class="fancybutton2" style="padding: 0.5em 25px; margin-left: 155px" type = "submit" value = "Upload" >
|
||||||
Upload
|
Upload
|
||||||
@@ -38,7 +67,7 @@
|
|||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<strong style="font-size: 110%;">Files:</strong><br>
|
<strong style="font-size: 110%;">Files already here:</strong><br>
|
||||||
{% for f in files %}
|
{% for f in files %}
|
||||||
<a href="{{urlfile|urlencode}}/{{f|urlencode}}">{{f}}</a><br />
|
<a href="{{urlfile|urlencode}}/{{f|urlencode}}">{{f}}</a><br />
|
||||||
{% empty %}
|
{% empty %}
|
||||||
@@ -48,11 +77,12 @@
|
|||||||
<p>You can upload your GPX track which will be averaged into a single *fix
|
<p>You can upload your GPX track which will be averaged into a single *fix
|
||||||
<p>Note that only GPX files are accepted: all other types of files are refused.
|
<p>Note that only GPX files are accepted: all other types of files are refused.
|
||||||
<hr>
|
<hr>
|
||||||
|
<p>This GPX file has x locations of which y (_%) have been averaged to produce a a location:<br>
|
||||||
|
<pre>
|
||||||
</button>
|
[1623]
|
||||||
</form>
|
*fix p2025-WW-01 13.8229370 47.6874630 1871
|
||||||
</div>
|
*entrance p2025-WW-01
|
||||||
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|||||||
Reference in New Issue
Block a user