From 558ab83e55f5288c22f0bb7ed94a1585a2e1c0e8 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 31 Mar 2013 16:10:47 +0100 Subject: Split off base.html template --- templates/base.html | 14 ++++++++++++++ templates/convert.html | 31 +++++++++++-------------------- templates/index.html | 48 +++++++++++++++++++----------------------------- 3 files changed, 44 insertions(+), 49 deletions(-) create mode 100644 templates/base.html diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..39698c2 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,14 @@ + + + + Mammoth + + + +
+

Mammoth

+ {+body}{/body} +
+ + + diff --git a/templates/convert.html b/templates/convert.html index ecdb708..2abd661 100644 --- a/templates/convert.html +++ b/templates/convert.html @@ -1,23 +1,14 @@ - - - - Mammoth - - - -
-

Mammoth

-
-
- {documentHtml|s} -
-
-
-

Uploaded document:
{documentName}

-
-
+{>"base.html"/} +{ +
+ {documentHtml|s} +
+
+
+

Uploaded document:
{documentName}

- - +
+{/body} 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 @@ - - - - Mammoth - - - -
-

Mammoth

-
-
-
-
-

- -

-

- -

-
-
-
-
-
+{>"base.html"/} + +{ +
+
+
+

+ +

+

+ +

+
- - +
+{/body} -- cgit v1.2.3