summaryrefslogtreecommitdiff
path: root/yaksh/templates/yaksh/show_testcase.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/yaksh/show_testcase.html')
-rw-r--r--yaksh/templates/yaksh/show_testcase.html31
1 files changed, 0 insertions, 31 deletions
diff --git a/yaksh/templates/yaksh/show_testcase.html b/yaksh/templates/yaksh/show_testcase.html
deleted file mode 100644
index b9cb55f..0000000
--- a/yaksh/templates/yaksh/show_testcase.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "manage.html" %}
-
-{% block title %} Test Case List {% endblock title %}
-
-{% block script %}
-<script src="{{ URL_ROOT }}/static/yaksh/js/show_testcase.js"></script>
-{% endblock %}
-
-{% block subtitle %} Test Case List {% endblock %}
-{% block manage %}
-{% if not test_cases %}
-<center><h5> No Test Cases Available for This Question. </h5></center>
-<button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/testcase/{{ question_id }}");'>Add New Test Case</button>&nbsp;&nbsp;
-{% endif %}
-
-
-{% if test_cases %}
-<form method="post" action="" name='frm'>
-{% csrf_token %}
-
-{% for test_case in test_cases %}
-<input type=checkbox name='test_case' value={{test_case.id}} />&nbsp;&nbsp;<a href="{{URL_ROOT}}/exam/manage/testcase/{{ question_id }}/{{ test_case.id }}">{{ test_case }}</a><br>
-{% endfor %}
-
-<br><br>
-<button class="btn" type="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/testcase/{{ question_id }}");'>Add New Test Case</button>&nbsp;&nbsp;
-<button class="btn" type="submit" name="delete" value='delete' onClick="return confirm_delete(frm);">Delete Selected</button>
-</form>
-{% endif %}
-
-{% endblock %}