From: Tom Walker Date: Sun, 20 Jul 2014 15:21:09 +0000 (+0100) Subject: cleaning up templates X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1f393025f1f1b1c2fbccd1c6733d83a4c8dd2fff;p=django_quiz.git cleaning up templates --- diff --git a/quiz/templates/base.html b/quiz/templates/base.html index de93368..aa953aa 100644 --- a/quiz/templates/base.html +++ b/quiz/templates/base.html @@ -1,3 +1,4 @@ + @@ -21,10 +22,14 @@ +
+ {% block content %} {% endblock %} +
+ diff --git a/quiz/templates/progress.html b/quiz/templates/progress.html index 224d0e5..44b2010 100644 --- a/quiz/templates/progress.html +++ b/quiz/templates/progress.html @@ -7,8 +7,6 @@ {% block content %} -
- {% if cat_scores %}

Question Category Scores

@@ -83,6 +81,5 @@ {% endif %} -
{% endblock %} diff --git a/quiz/templates/question.html b/quiz/templates/question.html index 8044515..325c37d 100644 --- a/quiz/templates/question.html +++ b/quiz/templates/question.html @@ -7,9 +7,6 @@ {% block content %} -
- - {% if previous %}

The previous question:

@@ -69,6 +66,6 @@ {% endif %}
-
+ {% endblock %} diff --git a/quiz/templates/quiz/category_list.html b/quiz/templates/quiz/category_list.html index 3963805..c58cd05 100644 --- a/quiz/templates/quiz/category_list.html +++ b/quiz/templates/quiz/category_list.html @@ -5,7 +5,7 @@

Category list

{% endblock %} - -{% block right-sidebar %} -

Sponsored Advertisements

-{% endblock %} diff --git a/quiz/templates/quiz/quiz_list.html b/quiz/templates/quiz/quiz_list.html index 39f9758..f0e0fda 100644 --- a/quiz/templates/quiz/quiz_list.html +++ b/quiz/templates/quiz/quiz_list.html @@ -2,7 +2,7 @@ {% block title %}All Quizzes{% endblock %} {% block content %} -

Quiz list

+

List of quizzes

{% if quiz_list %}