From b7844cf78d0b0f5a8489138732a15c4d40967c93 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Wed, 18 Dec 2013 12:29:04 +0530 Subject: updating wsgi.py --- static/website/templates/fetch_posts.html | 9 ------ static/website/templates/fetch_questions.html | 9 ------ static/website/templates/fetch_tutorials.html | 10 ------ static/website/templates/get_post.html | 12 ------- static/website/templates/get_tutorial.html | 12 ------- static/website/templates/new-post.html | 45 --------------------------- static/website/templates/recent_posts.html | 5 --- 7 files changed, 102 deletions(-) delete mode 100644 static/website/templates/fetch_posts.html delete mode 100644 static/website/templates/fetch_questions.html delete mode 100644 static/website/templates/fetch_tutorials.html delete mode 100644 static/website/templates/get_post.html delete mode 100644 static/website/templates/get_tutorial.html delete mode 100644 static/website/templates/new-post.html delete mode 100644 static/website/templates/recent_posts.html (limited to 'static/website/templates') diff --git a/static/website/templates/fetch_posts.html b/static/website/templates/fetch_posts.html deleted file mode 100644 index d6d4e06..0000000 --- a/static/website/templates/fetch_posts.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends 'website/templates/base.html' %} -{% block content %} -{{ category }}, {{ tutorial }} -
-Number of posts: {{ posts|length }}
-{% for post in posts %} - {{ post.title }} -{% endfor %} -{% endblock %} diff --git a/static/website/templates/fetch_questions.html b/static/website/templates/fetch_questions.html deleted file mode 100644 index d7492fc..0000000 --- a/static/website/templates/fetch_questions.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends 'website/templates/base.html' %} -{% block content %} -{{ category }}, {{ tutorial }} -
-Number of questions: {{ questions|length }}
-{% for question in questions %} - {{ question.title }} -{% endfor %} -{% endblock %} diff --git a/static/website/templates/fetch_tutorials.html b/static/website/templates/fetch_tutorials.html deleted file mode 100644 index 246c35f..0000000 --- a/static/website/templates/fetch_tutorials.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends 'website/templates/base.html' %} -{% block content %} -{% for tut in tutorials %} -
- - {{tut.tutorial_name}} - -
-{% endfor %} -{% endblock %} diff --git a/static/website/templates/get_post.html b/static/website/templates/get_post.html deleted file mode 100644 index 359bcd2..0000000 --- a/static/website/templates/get_post.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends 'website/templates/base.html' %} -{% block content %} -

{{post.title}}

-

- {{ post.body }} -

- -Replies -{% for reply in replies %} - {{ reply.body }} -{% endfor %} -{% endblock %} diff --git a/static/website/templates/get_tutorial.html b/static/website/templates/get_tutorial.html deleted file mode 100644 index 159f342..0000000 --- a/static/website/templates/get_tutorial.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends 'website/templates/base.html' %} -{% block content %} -

{{question.title}}

-

- {{ question.body }} -

- -Replies -{% for reply in replies %} - {{ reply.body }} -{% endfor %} -{% endblock %} diff --git a/static/website/templates/new-post.html b/static/website/templates/new-post.html deleted file mode 100644 index 8487b70..0000000 --- a/static/website/templates/new-post.html +++ /dev/null @@ -1,45 +0,0 @@ -{% extends 'website/templates/base.html' %} -{% load widget_tweaks %} -{% block content %} -

- - Create a new question . . . -

-
-
- {% with WIDGET_ERROR_CLASS='field_error' %} - -

Please enter the tutorial details.

-
-
- {% render_field form.category class+="form-control"%} -
-
- {% render_field form.tutorial class+="form-control" disabled="disabled" %} -
-
- {% render_field form.minute_range class+="form-control" disabled="disabled" %} -
-
- {% render_field form.second_range class+="form-control" disabled="disabled" %} -
-
-
- -

Please enter your question details.

-
-
-
- - {% render_field form.title class+="form-control" %} -
-
- - {% render_field form.body class+="form-control" %} -
-
-
- - {% endwith %} -
-{% endblock %} diff --git a/static/website/templates/recent_posts.html b/static/website/templates/recent_posts.html deleted file mode 100644 index 3b6ad0e..0000000 --- a/static/website/templates/recent_posts.html +++ /dev/null @@ -1,5 +0,0 @@ - -- cgit