summaryrefslogtreecommitdiff
path: root/yaksh/templates/manage.html
diff options
context:
space:
mode:
authorPrabhu Ramachandran2016-07-05 10:00:35 -0400
committerGitHub2016-07-05 10:00:35 -0400
commit15152d232ab81a1ec6af24b10424d85f1c01d170 (patch)
tree283190f3ab51896e75d538296036272e856a1f7d /yaksh/templates/manage.html
parentc8dfe62663d715dcf4b571c1f738428165734d2a (diff)
parent9c61c84194e6b52913dfc284765a7b7bd77201ad (diff)
downloadonline_test-15152d232ab81a1ec6af24b10424d85f1c01d170.tar.gz
online_test-15152d232ab81a1ec6af24b10424d85f1c01d170.tar.bz2
online_test-15152d232ab81a1ec6af24b10424d85f1c01d170.zip
Merge pull request #101 from maheshgudi/test_modes
Test modes
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>