From 81a1802ae9bdd0aca461cbc38bb3bd7f934de8b3 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Sun, 24 Nov 2013 01:55:26 +0530 Subject: initial commit --- static/website/templates/base.html | 74 +++++++++++++++++++++++++++ static/website/templates/fetch_posts.html | 9 ++++ static/website/templates/fetch_tutorials.html | 9 ++++ static/website/templates/get_post.html | 12 +++++ static/website/templates/index.html | 12 +++++ static/website/templates/recent_posts.html | 5 ++ 6 files changed, 121 insertions(+) create mode 100644 static/website/templates/base.html create mode 100644 static/website/templates/fetch_posts.html create mode 100644 static/website/templates/fetch_tutorials.html create mode 100644 static/website/templates/get_post.html create mode 100644 static/website/templates/index.html create mode 100644 static/website/templates/recent_posts.html (limited to 'static/website/templates') diff --git a/static/website/templates/base.html b/static/website/templates/base.html new file mode 100644 index 0000000..dd81da9 --- /dev/null +++ b/static/website/templates/base.html @@ -0,0 +1,74 @@ +{% load static %} + +
++ {{ post.body }} +
+ +Replies +{% for reply in replies %} + {{ reply.body }} +{% endfor %} +{% endblock %} diff --git a/static/website/templates/index.html b/static/website/templates/index.html new file mode 100644 index 0000000..b936643 --- /dev/null +++ b/static/website/templates/index.html @@ -0,0 +1,12 @@ +{% extends 'website/templates/base.html' %} +{% block content %} +{% for category in categories %} +