annotate templates/convert.html @ 31:83bca7dc9bfe

Return error response when a template couldn't be rendered
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 16 Oct 2014 11:35:19 +0200
parents 9d65de2ebe22
children
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 %}
17
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
4 <h1>Convert</h1>
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
5
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
6 <form role="form" action="" method="POST" enctype="multipart/form-data">
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
7 <div class="form-group">
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
8 <label for="format">Format</label>
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
9 <input id="format" type="text" placeholder="Format" name="format" class="form-control">
16
f4920ab1d27c Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
10 </div>
17
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
11 <div class="form-group">
30
9d65de2ebe22 Merge TemplateConvertView into ConvertView
Björn Ricks <bjoern.ricks@intevation.de>
parents: 17
diff changeset
12 <label for="datadict">Data in JSON Format</label>
9d65de2ebe22 Merge TemplateConvertView into ConvertView
Björn Ricks <bjoern.ricks@intevation.de>
parents: 17
diff changeset
13 <textarea id="datadict" name="datadict" class="form-control"></textarea>
9d65de2ebe22 Merge TemplateConvertView into ConvertView
Björn Ricks <bjoern.ricks@intevation.de>
parents: 17
diff changeset
14 </div>
9d65de2ebe22 Merge TemplateConvertView into ConvertView
Björn Ricks <bjoern.ricks@intevation.de>
parents: 17
diff changeset
15 <div class="form-group">
17
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
16 <label for="file" >File</label>
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
17 <input id="file" type="file" name="file">
16
f4920ab1d27c Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
18 </div>
17
75d5d18e7d52 Add bootstrap for css formating
Björn Ricks <bjoern.ricks@intevation.de>
parents: 16
diff changeset
19 <button class="btn btn-default" type="submit">Convert</button>
16
f4920ab1d27c Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
20 </form>
f4920ab1d27c Add basic html interface for convert
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
21 {% endblock %}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)