Mercurial > odfcast
annotate templates/convert.html @ 16:f4920ab1d27c
Add basic html interface for convert
This allow testing the code via the browser
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 14:02:55 +0200 |
parents | |
children | 75d5d18e7d52 |
rev | line source |
---|---|
16
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
1 {% extends 'base.html' %} |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
2 |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
3 {% block content %} |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
4 <form action="" method="POST" enctype="multipart/form-data"> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
5 <div> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
6 <label>Format</label> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
7 <input type="text" placeholder="Format" name="format"></input> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
8 </div> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
9 <div> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
10 <label>File</label> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
11 <input type="file" name="file"></input> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
12 </div> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
13 <input type="submit" value="Convert"></input> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
14 </form> |
f4920ab1d27c
Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
15 {% endblock %} |