From ddd0072e70dade6bdbecc3123989150ad046556e Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 30 Nov 2012 18:39:37 +0100 Subject: init everything --- templates/base.html | 13 +++++++++++++ templates/book.html | 12 ++++++++++++ templates/home.html | 8 ++++++++ 3 files changed, 33 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/book.html create mode 100644 templates/home.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..1a3935f --- /dev/null +++ b/templates/base.html @@ -0,0 +1,13 @@ + + + + flask app template + + + + +{% block body %}{% endblock %} + + diff --git a/templates/book.html b/templates/book.html new file mode 100644 index 0000000..b107d99 --- /dev/null +++ b/templates/book.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} +{% block body %} + +{% if not book %} +

NO BOOK FOUND :(

+{% else %} +

FOUND BOOK! {{book.md5sum}} + +Redirecting to {{book.url}}... +{% endif %} + +{% endblock %} diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..ca3e3df --- /dev/null +++ b/templates/home.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block body %} + + + + + +{% endblock %} -- cgit v1.2.3