Mercurial > odfcast
annotate templates/merge.html @ 30:9d65de2ebe22
Merge TemplateConvertView into ConvertView
Also improve temporary file handling.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 16 Oct 2014 10:34:43 +0200 |
parents | 2f627039d2b4 |
children |
rev | line source |
---|---|
19
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
1 {% extends 'base.html' %} |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
2 |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
3 {% block content %} |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
4 <h1>Merge</h1> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
5 |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
6 <form role="form" action="" method="POST" enctype="multipart/form-data"> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
7 <div class="form-group"> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
8 <label for="files">Files</label> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
9 <input id="files" type="file" name="files" multiple> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
10 </div> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
11 <button class="btn btn-default" type="submit">Convert</button> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
12 </form> |
2f627039d2b4
Add a MergeView to merge pdfs based on PyPDF2
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
13 {% endblock %} |