summaryrefslogtreecommitdiff
path: root/yaksh/templates/manage.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r--yaksh/templates/manage.html15
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>