Mercurial > odfcast
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/templates/convert.html Mon Sep 29 14:02:55 2014 +0200 @@ -0,0 +1,15 @@ +{% extends 'base.html' %} + +{% block content %} +<form action="" method="POST" enctype="multipart/form-data"> + <div> + <label>Format</label> + <input type="text" placeholder="Format" name="format"></input> + </div> + <div> + <label>File</label> + <input type="file" name="file"></input> + </div> + <input type="submit" value="Convert"></input> +</form> +{% endblock %}