diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-14 14:24:46 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-05-14 14:24:46 +0100 |
commit | 8538ef27a16de8c5f78a7fe352c51fe507729354 (patch) | |
tree | 16fcad51c176e963eed8c392e981140cb4e246f2 /templates/controlPanel.html | |
parent | c4ff04c3576971f255f909ddfaa4beb5bd1bdc39 (diff) | |
download | troggle-8538ef27a16de8c5f78a7fe352c51fe507729354.tar.gz troggle-8538ef27a16de8c5f78a7fe352c51fe507729354.tar.bz2 troggle-8538ef27a16de8c5f78a7fe352c51fe507729354.zip |
[svn] Forgot to upload with earlier commit
Diffstat (limited to 'templates/controlPanel.html')
-rw-r--r-- | templates/controlPanel.html | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/templates/controlPanel.html b/templates/controlPanel.html index d60a327..028b7f2 100644 --- a/templates/controlPanel.html +++ b/templates/controlPanel.html @@ -1,6 +1,6 @@ {% extends "base.html" %}
{% block content %}
-<form name="form1" method="post" action="">
+<form name="import" method="post" action="">
<h3>Dump:</h3>
@@ -14,9 +14,9 @@ <tr><td>caves from cavetab2.csv using parsers\cavetab.py</td><td> <input type="checkbox" class="parser" name="import_cavetab"/></td></tr>
<tr><td>logbook entries using parsers\logbooks.py</td><td><input type="checkbox" name="import_logbooks"/></td></tr>
<tr><td>people from folk.csv using parsers\people.py</td><td><input type="checkbox" name="import_people"/></td></tr>
-<tr><td>QMs using parsers\QMs.py</td><td><input type="checkbox" name="QMs" value="import_QMs" /></td></tr>
+<tr><td>QMs using parsers\QMs.py</td><td><input type="checkbox" name="import_QMs" /></td></tr>
<tr><td>survey scans using parsers\surveys.py</td><td><input type="checkbox" name="import_surveys" /></td></tr>
-<tr><td>survex data using parsers\survex.py</td><td><input type="checkbox" name="survex" value="import_survex" /></td></tr>
+<tr><td>survex data using parsers\survex.py</td><td><input type="checkbox" name="import_survex" /></td></tr>
</table>
@@ -28,10 +28,32 @@ </p>
</form>
+
<h3>Export to csv:</h3>
<table>
<tr>
- <td>caves to cavetab2.csv</td><td> <input name="export_cavetab" type="submit" id="export_cavetab" value="Export" disabled /></td></tr>
-</label>
+ <td>
+ caves to cavetab2.csv
+ </td>
+ <td>
+ <form name="export" method="post" action="">
+ <p>Overwrite the existing CAVETAB2.CSV file with one generated by Troggle.</p>
+ <input name="export_cavetab" type="submit" value="Update {{settings.EXPOWEB}}noinfo/CAVETAB2.CSV" />
+ </form>
+ </td>
+ <td>
+ <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>
+
+ <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 />
+ </td></tr>
</table>
+</form>
+
{% endblock %}
\ No newline at end of file |