diff options
author | prathamesh | 2013-08-19 13:09:10 +0530 |
---|---|---|
committer | prathamesh | 2013-08-19 13:09:10 +0530 |
commit | fbeed0456532b2b36f02a26dbfffc132235d5e4c (patch) | |
tree | 3a4f08f8e889b4d27a018ea6915d954bf445f1c3 /testapp/templates | |
parent | 754244da53f7e0a63c272ce6d1ffb15c1d5be0ae (diff) | |
download | online_test-fbeed0456532b2b36f02a26dbfffc132235d5e4c.tar.gz online_test-fbeed0456532b2b36f02a26dbfffc132235d5e4c.tar.bz2 online_test-fbeed0456532b2b36f02a26dbfffc132235d5e4c.zip |
This branch was created for testing the app.
Changes made here are during the testing phase.
And the feedbacks recevied are implemented.
Diffstat (limited to 'testapp/templates')
-rw-r--r-- | testapp/templates/exam/quizzes_user.html | 2 | ||||
-rw-r--r-- | testapp/templates/exam/results_user.html | 2 | ||||
-rw-r--r-- | testapp/templates/exam/show_quiz.html | 1 | ||||
-rw-r--r-- | testapp/templates/exam/showquestionpapers.html | 4 |
4 files changed, 8 insertions, 1 deletions
diff --git a/testapp/templates/exam/quizzes_user.html b/testapp/templates/exam/quizzes_user.html index af2d98a..b55d3e5 100644 --- a/testapp/templates/exam/quizzes_user.html +++ b/testapp/templates/exam/quizzes_user.html @@ -12,7 +12,7 @@ <center><h4>No active quizzes for you</h4></center> {% endif %} {% for paper in quizzes %} - <a href="{{ URL_ROOT }}/exam/start/{{paper.id}}">{{ paper.quiz.description }}</a><br> + <a href="{{ URL_ROOT }}/exam/intro/{{paper.id}}">{{ paper.quiz.description }}</a><br> {% endfor %} {% endblock %} diff --git a/testapp/templates/exam/results_user.html b/testapp/templates/exam/results_user.html index bf847c0..2a2a309 100644 --- a/testapp/templates/exam/results_user.html +++ b/testapp/templates/exam/results_user.html @@ -13,6 +13,8 @@ <center><table class="span6"> <th>Quiz Description <th>Obtained Marks + <th>Maximum Marks + <th>Percentage {% for paper in papers %} <tr> {% for i in paper %} diff --git a/testapp/templates/exam/show_quiz.html b/testapp/templates/exam/show_quiz.html index 886a696..cf3f552 100644 --- a/testapp/templates/exam/show_quiz.html +++ b/testapp/templates/exam/show_quiz.html @@ -10,6 +10,7 @@ {% block manage %} {% if not quizzes and not quiz %} <center><h5> No quizzes available. </h5></center> +<button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/addquiz");'>Add New Quiz</button> {% endif %} {# ############################################################### #} diff --git a/testapp/templates/exam/showquestionpapers.html b/testapp/templates/exam/showquestionpapers.html index 26b756d..e511472 100644 --- a/testapp/templates/exam/showquestionpapers.html +++ b/testapp/templates/exam/showquestionpapers.html @@ -8,6 +8,7 @@ {% endblock %} {% block manage %} +{% if papers %} <form name=frm action="" method="post"> {% csrf_token %} {% for i in papers %} @@ -16,4 +17,7 @@ <br> <button class="btn" type="submit" onClick="return confirm_delete(frm);" name='delete' value='delete'>Delete Selected</button> </form> +{% else %} +<center><h3>No Question Papers available</h3></center> +{% endif %} {% endblock %} |