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

work in progress, now uploads several GPX files..

This commit is contained in:
2025-10-12 21:57:44 +03:00
parent 6ccd16a508
commit 4bbbdba571
2 changed files with 67 additions and 129 deletions

View File

@@ -9,47 +9,40 @@
<h2>Upload GPX file for a *fix</h2>
<div style = "max-width:35%; margin-left:20%; text-align: center; " >
<div style = "max-width:35%; margin-left:20%; text-align: left" >
<form method ='post' enctype ="multipart/form-data">
{% csrf_token %}
<br>
<input class="fancybutton2" type = "file"
<input class="fancybutton2" type = "file" multiple="multiple"
name = "uploadfiles" id="uploadfiles" />
<br><br><br>
<input class="fancybutton2" style="padding: 0.5em 25px; margin-left: 125px"
label = "Rename to" name = "renameto" id="renameto"
pattern="[A-Za-z][A-Za-z0-9_-\.]*"/>
<br />
<label
style="padding: 0.5em 25px; margin-left: 110px"
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"
style="padding: 0.5em 25px; margin-left:20%;"
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]+"
pattern="16[0-9]+"
placeholder="1623" required />
<label
style="padding: 0.5em 25px; margin-left: 110px"
for="areacode" ><br>the area code for this station<br></label>
style="padding: 0.5em 25px; margin-left:20%;"
for="areacode" >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 />
pattern="[A-Za-z][\-A-Za-z0-9]*"
placeholder="p2049-BW-01" required />
<label
style="padding: 0.5em 25px; margin-left: 110px"
style="padding: 0.5em 25px; margin-left:20%;"
for="station" >proposed station identifier<br></label>
<br><br><br>