diff options
author | ankitjavalkar | 2016-04-01 11:18:04 +0530 |
---|---|---|
committer | ankitjavalkar | 2016-05-05 19:16:26 +0530 |
commit | f120f5763904589d3c18b6cc0f4e227bcaef9a0a (patch) | |
tree | f129657e1b767c9f5cc6a61d583d5aec46e8334b /yaksh/templates | |
parent | 0b5a48f0ba4c4510c0026101ab84e19099691635 (diff) | |
download | online_test-f120f5763904589d3c18b6cc0f4e227bcaef9a0a.tar.gz online_test-f120f5763904589d3c18b6cc0f4e227bcaef9a0a.tar.bz2 online_test-f120f5763904589d3c18b6cc0f4e227bcaef9a0a.zip |
Add testcase addition templates, views and forms
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/yaksh/add_testcase.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/yaksh/templates/yaksh/add_testcase.html b/yaksh/templates/yaksh/add_testcase.html new file mode 100644 index 0000000..298bd50 --- /dev/null +++ b/yaksh/templates/yaksh/add_testcase.html @@ -0,0 +1,21 @@ +{% extends "manage.html" %} + + +{% block subtitle %}Add Question{% endblock %} + +{% block css %} +<link rel="stylesheet" href="{{ URL_ROOT }}/static/yaksh/css/question_quiz.css" type="text/css" /> +<link rel="stylesheet" media="all" type="text/css" href="{{ URL_ROOT }}/static/yaksh/css/autotaggit.css" /> +{% endblock %} + +{% block script %} +<script type="text/javascript" src="{{ URL_ROOT }}/static/yaksh/js/jquery-1.4.2.min.js"></script> +<script src="{{ URL_ROOT }}/static/yaksh/js/add_question.js"></script> +{% endblock %} + +{% block onload %} onload='javascript:textareaformat();' {% endblock %} + +{% block manage %} +<form action="" method="post" name=frm> +<tr><td>Test Case: <td>{{ form.test_case }}{{ form.test_case.errors }} +</form>
\ No newline at end of file |