aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-03-31 16:10:47 +0100
committerMichael Williamson <mike@zwobble.org>2013-03-31 16:10:47 +0100
commit558ab83e55f5288c22f0bb7ed94a1585a2e1c0e8 (patch)
treead7f4d989ac9c8e1d4a7eb55659037a47f1df40d /templates/index.html
parent18667e12719c61d92dbbb9e08762e4848c56a9cb (diff)
Split off base.html template
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html48
1 files changed, 19 insertions, 29 deletions
diff --git a/templates/index.html b/templates/index.html
index 6f2c439..b2ce67d 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -1,31 +1,21 @@
-<!DOCTYPE html>
-<html>
- <head>
- <title>Mammoth</title>
- <link rel="stylesheet" type="text/css" href="/static/bootstrap/css/bootstrap.min.css">
- </head>
- <body>
- <div class="container">
- <h1>Mammoth</h1>
- <div class="row">
- <div class="span4">
- <div class="well">
- <form action="/convert" method="POST" enctype="multipart/form-data">
- <p>
- <label>
- Select <code>.docx</code> file:<br>
- <input type="file" name="document">
- </label>
- </p>
- <p>
- <input type="submit" value="Convert" class="btn">
- </p>
- </form>
- </div>
- </div>
- <div class="span8">
- </div>
+{>"base.html"/}
+
+{<body}
+ <div class="row">
+ <div class="span6">
+ <div class="well">
+ <form action="/convert" method="POST" enctype="multipart/form-data">
+ <p>
+ <label>
+ Select <code>.docx</code> file:<br>
+ <input type="file" name="document">
+ </label>
+ </p>
+ <p>
+ <input type="submit" value="Convert" class="btn">
+ </p>
+ </form>
</div>
</div>
- </body>
-</html>
+ </div>
+{/body}