summaryrefslogtreecommitdiff
path: root/testapp/exam/templates
diff options
context:
space:
mode:
authorankitjavalkar2015-03-05 12:27:02 +0530
committerankitjavalkar2015-04-26 19:43:19 +0530
commit9440bff5ae69c1d27f5c9622ca15cb8c603c6174 (patch)
tree761e4c37f02244232ce876233e026f1c0e894ad6 /testapp/exam/templates
parent8e2469e937fd4f80ebf2053d6e21c9b670d38ea2 (diff)
downloadonline_test-9440bff5ae69c1d27f5c9622ca15cb8c603c6174.tar.gz
online_test-9440bff5ae69c1d27f5c9622ca15cb8c603c6174.tar.bz2
online_test-9440bff5ae69c1d27f5c9622ca15cb8c603c6174.zip
Code Server code cleanup and code commonification
- Pass question and test case info as json string (info_parameter) - Return success status and error message as a json string - Embed user answer and question lang in info_parameter - Commonify Python code evaluations and assertion test - Deprecate individual function call based on language
Diffstat (limited to 'testapp/exam/templates')
-rw-r--r--testapp/exam/templates/exam/add_question.html14
1 files changed, 0 insertions, 14 deletions
diff --git a/testapp/exam/templates/exam/add_question.html b/testapp/exam/templates/exam/add_question.html
index d989b81..e5e2574 100644
--- a/testapp/exam/templates/exam/add_question.html
+++ b/testapp/exam/templates/exam/add_question.html
@@ -40,20 +40,6 @@
{% endfor %}
{% endif %}
</form>
-<!-- <form method="post" action="">
- <center><table class=span1>
- {{ formset.management_form }}
- {% for form in formset %}
- {{ form.id }}
- <tr><td>Question <td>{{ form.question }}
- <tr><td>Function Name <td>{{ form.func_name }}
- <tr><td>Keyword argument <td>{{ form.kw_args }}
- <tr><td>Positional Argument <td>{{ form.pos_args }}
- <tr><td>Expected Answer <td>{{ form.expected_answer }}
- <tr><td>Code Path <td>{{ form.ref_code_path }}
- {% endfor %}
- </form> -->
- <!-- end -->
</table></center>
<center><button class="btn" type="submit" name="add_test">Add Test Case</button> <!-- -->
<button class="btn" type="submit" name="delete_test">Remove Test Case</button> <!-- -->