Mercurial > odfcast
diff templates/convert.html @ 17:75d5d18e7d52
Add bootstrap for css formating
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 14:17:41 +0200 |
parents | f4920ab1d27c |
children | 9d65de2ebe22 |
line wrap: on
line diff
--- a/templates/convert.html Mon Sep 29 14:02:55 2014 +0200 +++ b/templates/convert.html Mon Sep 29 14:17:41 2014 +0200 @@ -1,15 +1,17 @@ {% 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> +<h1>Convert</h1> + +<form role="form" action="" method="POST" enctype="multipart/form-data"> + <div class="form-group"> + <label for="format">Format</label> + <input id="format" type="text" placeholder="Format" name="format" class="form-control"> </div> - <div> - <label>File</label> - <input type="file" name="file"></input> + <div class="form-group"> + <label for="file" >File</label> + <input id="file" type="file" name="file"> </div> - <input type="submit" value="Convert"></input> + <button class="btn btn-default" type="submit">Convert</button> </form> {% endblock %}