diff options
author | maheshgudi | 2016-07-05 15:18:12 +0530 |
---|---|---|
committer | maheshgudi | 2016-07-05 15:18:12 +0530 |
commit | 1276c2840c3c7f7521c98574dea302160611f79d (patch) | |
tree | 7f80aaafadab1a16e636b29b5881c9e45da1e5a9 /yaksh/templates | |
parent | 46c04c3cdd7c7cdb5acd9d8495934df26f469146 (diff) | |
download | online_test-1276c2840c3c7f7521c98574dea302160611f79d.tar.gz online_test-1276c2840c3c7f7521c98574dea302160611f79d.tar.bz2 online_test-1276c2840c3c7f7521c98574dea302160611f79d.zip |
moderator can now select and delete trial papers
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/manage.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html index 4b9e2ba..334f6a2 100644 --- a/yaksh/templates/manage.html +++ b/yaksh/templates/manage.html @@ -77,6 +77,21 @@ <h5>Click on the button given below to add a new course.</h5> <button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/add_course");'>Add New Course</button> </center> + {% if trial_quiz %} + <h5/> You have trial papers. + <table class="bordered-table zebra-striped"> + <form action="" method="post"> + {% csrf_token %} + {% for quiz in trial_quiz %} + <tr> + <td> <input type = "checkbox" name="delete_quiz" value = {{quiz.id}}></input></td> + <td> <a href="{{URL_ROOT}}/exam/manage/gradeuser/{{quiz.id}}">{{quiz.description}}</td> + </tr> + {% endfor %} + </table> + <center><button class="btn" type="submit">Delete Selected</button></center> + </form> + {% endif %} {% endblock %} </div> </div> |