diff options
author | jayparikh111 | 2012-03-13 18:44:01 +0530 |
---|---|---|
committer | jayparikh111 | 2012-03-13 18:44:01 +0530 |
commit | a7c84a478789e9e835dcbb3ea41b1d519ba69b4d (patch) | |
tree | fc879bdd0b0eb58817275c0837126a06be81f96e /testapp/templates/exam/add_quiz.html | |
parent | 87862b8c8d7822a4578b5cb5f413bedb37454bd2 (diff) | |
download | online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.gz online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.bz2 online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.zip |
minor changes for UI
Diffstat (limited to 'testapp/templates/exam/add_quiz.html')
-rw-r--r-- | testapp/templates/exam/add_quiz.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/testapp/templates/exam/add_quiz.html b/testapp/templates/exam/add_quiz.html index dedc627..fe99ce6 100644 --- a/testapp/templates/exam/add_quiz.html +++ b/testapp/templates/exam/add_quiz.html @@ -6,9 +6,18 @@ {% block css %} <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/question_quiz.css" type="text/css" /> {% endblock %} +{% block script %} +<script type='text/javascript'> + function test() + { + document.getElementById('id_description').onFocus="javascript:test2()"; + } +</script> +{% endblock %} +{% block onload %} onload="javascript:test();" {% endblock %} {% block manage %} -<form name=frm action="" method="post"> +<form name=frm id=frm action="" method="post" > {% csrf_token %} <center> <table class=span1> @@ -16,6 +25,7 @@ </table> </center> <center><button class="btn" type="submit" name="save">Save</button> - <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/showquiz/");'>Cancel</button> </center> + <button class="btn" type="button" name="button" onClick="javascript:test()">Cancel</button> </center> + <!--button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/showquiz/");'>Cancel</button> </center--> </form> {% endblock %} |