annotate templates/index.html @ 33:00e12392f8d4

Fix saving uploaded form file to a temporary file The file must be saved to a temporary file for conversion via pyuno. pyuno can only accept filenames. Also the file position must be reset to the start. If the position is not reset we will get a IllegalArgumentException: Unsupported URL from pyuno when converting a file without template rendering.
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 16 Oct 2014 11:45:51 +0200
parents 709edf15f90e
children 3e83888fb8d8
rev   line source
23
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
1 {% extends 'base.html' %}
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
2
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
3 {% block content %}
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
4 <ul>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
5 <li>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
6 <a href="/convert/">Convert</a>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
7 </li>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
8 <li>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
9 <a href="/template/">Template</a>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
10 </li>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
11 <li>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
12 <a href="/merge/">Merge</a>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
13 </li>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
14 </ul>
709edf15f90e Add a index view to display links to the three functions
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
15 {% endblock %}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)