Bläddra i källkod

Improved user information on pages

Stephen Dade 5 år sedan
förälder
incheckning
d083b45cb3
2 ändrade filer med 6 tillägg och 5 borttagningar
  1. 1 0
      templates/generate.html
  2. 5 5
      templates/index.html

+ 1 - 0
templates/generate.html

@@ -7,6 +7,7 @@
 {% else %}
   <p>Terrain Generation complete. You can download from: <a href="{{ urlkey }}" download="terrain.zip">here</a>.</p>
   <p>This should be unzipped to the autopilot's SD card, within in the "APM/terrain" folder.</p>
+  <p>This download will be available for 24 hours.</p>
 {% endif %}
 
 {% if outsideLat %}

+ 5 - 5
templates/index.html

@@ -2,22 +2,22 @@
 <title>ArduPilot Terrain Generator</title>
 <h1>ArduPilot Terrain Generator</h1>
 
-<p>Use this to generate terrain to put on your SD card. The generated terrain is based on the SRTM data and has 100m horizontal resolution.</p>
+<p>Use this to generate terrain to put on your SD card. The generated terrain is based on the SRTM data and has 100m horizontal resolution. It covers all areas between 0 and 60 degrees North/South latitude.</p>
 
 <p>Multiple generated files can be combined on the SD card.</p>
 
 <p>Compatible with Ardupilot Plane 4.0.6+ and Copter 4.0.4+</p>
  
-<h2>Options</h2>
+<h2>Terrain Options</h2>
  <form action="/generate" method="post">
-  <label for="lat">Latitude:</label><br>
+  <label for="lat">Centre Latitude:</label><br>
   <input type="text" id="lat" name="lat" value="-35.363261"><br>
-  <label for="long">Longitude:</label><br>
+  <label for="long">Centre Longitude:</label><br>
   <input type="text" id="long" name="long" value="149.165230"><br>
   <label for="radius">Radius (km):</label><br>
   <input type="number" id="radius" name="radius" value="100" min="1" max="400"><br>
   <br>
-  <input type="submit" value="Submit" method="post">
+  <input type="submit" value="Generate" method="post">
  </form> 
 
 <br />