diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-17 04:31:23 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-17 04:31:23 +0100 |
commit | 4a42396774b5f3707053390e8f98a069d4837a02 (patch) | |
tree | 5188f6c53b4f6e6be1377a1ec1d9ac1b6608422d /templates/controlPanel.html | |
parent | a4212632b2e6f71b97d64785a20d276fa41af602 (diff) | |
download | troggle-4a42396774b5f3707053390e8f98a069d4837a02.tar.gz troggle-4a42396774b5f3707053390e8f98a069d4837a02.tar.bz2 troggle-4a42396774b5f3707053390e8f98a069d4837a02.zip |
[svn] - Make control panel downloads (qm.csv for each cave, CAVETAB2.CSV) work.
- Fix problems in QM parsing script
Diffstat (limited to 'templates/controlPanel.html')
-rw-r--r-- | templates/controlPanel.html | 46 |
1 files changed, 42 insertions, 4 deletions
diff --git a/templates/controlPanel.html b/templates/controlPanel.html index 028b7f2..bce56f8 100644 --- a/templates/controlPanel.html +++ b/templates/controlPanel.html @@ -42,18 +42,56 @@ </form>
</td>
<td>
- <form name="export" method="get" action={% url downloadcavetab %}>
+ <form name="export" method="get" action="{% url downloadcavetab %}">
<p>Download a CAVETAB2.CSV file which is dynamically generated by Troggle.</p>
<input name="download_cavetab" type="submit" value="Download CAVETAB2.CSV" />
</form>
</td>
</tr>
+
+<tr>
+ <td>
+ surveys to Surveys.csv
+ </td>
+ <td>
+ <form name="export" method="post" action="">
+ <p>Overwrite the existing Surveys.csv file with one generated by Troggle.</p>
+ <input disabled name="export_surveys" type="submit" value="Update {{settings.SURVEYS}}noinfo/Surveys.csv" />
+ </form>
+ </td>
+ <td>
+ <form name="export" method="get" action={% url downloadsurveys %}>
+ <p>Download a Surveys.csv file which is dynamically generated by Troggle.</p>
+ <input disabled name="download_surveys" type="submit" value="Download Surveys.csv" />
+ </form>
+ </td>
+</tr>
+<tr>
<td>qms to qms.csv</td><td>
- <input name="export_cavetab" type="submit" value="Update qms file for" disabled />
- <input name="export_cavetab_view" type="submit" value="Download file" disabled />
+ <form name="export_qms" method="get" action="downloadqms">
+
+<!--This is for choosing caves by area (drilldown).
+
+ <select id="qmcaveareachooser" class="searchable" >
+ </select>
+
+ -->
+
+ Choose a cave.
+ <select name="cave_id" id="qmcavechooser">
+
+ {% for cave in caves %}
+ <option value="{{cave.kataster_number}}">{{cave}}
+ </option>
+ {% endfor %}
+
+ </select>
+
+ <input type="submit" value="Download"/>
+ </form>
</td></tr>
</table>
</form>
-{% endblock %}
\ No newline at end of file +{% endblock %}
\ No newline at end of file |