# HG changeset patch # User Björn Ricks # Date 1411993091 -7200 # Node ID 585904e7411a1c86f6b24f3af8f99e1016023113 # Parent 75d5d18e7d525eeeddb31756789691418b1bc5c9 Add html for converting a odf with a template diff -r 75d5d18e7d52 -r 585904e7411a odfcast/convert.py --- a/odfcast/convert.py Mon Sep 29 14:17:41 2014 +0200 +++ b/odfcast/convert.py Mon Sep 29 14:18:11 2014 +0200 @@ -89,3 +89,6 @@ def get_datadict(self): vars = request.form['datadict'] return json.loads(vars) + + def get(self): + return render_template("template_convert.html") diff -r 75d5d18e7d52 -r 585904e7411a templates/template_convert.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/template_convert.html Mon Sep 29 14:18:11 2014 +0200 @@ -0,0 +1,21 @@ +{% extends 'base.html' %} + +{% block content %} +

Template Convert

+ +
+
+ + +
+
+ + +
+
+ + +
+ +
+{% endblock %}