diff options
author | Hardik Ghaghada | 2013-04-30 12:23:37 +0530 |
---|---|---|
committer | Hardik Ghaghada | 2013-04-30 12:23:37 +0530 |
commit | 71c2ad9ff8adc43f6d576571eceda07758e19ca9 (patch) | |
tree | f6269b6d2a477b5ea2613998df4caf2c46d57072 /testapp/templates/exam/question.html | |
parent | 216031440bfe304ad51013950f49e88258ed9fde (diff) | |
download | online_test-71c2ad9ff8adc43f6d576571eceda07758e19ca9.tar.gz online_test-71c2ad9ff8adc43f6d576571eceda07758e19ca9.tar.bz2 online_test-71c2ad9ff8adc43f6d576571eceda07758e19ca9.zip |
Snippet feature implemented
Diffstat (limited to 'testapp/templates/exam/question.html')
-rw-r--r-- | testapp/templates/exam/question.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testapp/templates/exam/question.html b/testapp/templates/exam/question.html index 3506c93..0fe7345 100644 --- a/testapp/templates/exam/question.html +++ b/testapp/templates/exam/question.html @@ -87,9 +87,9 @@ function update_time() {% endfor %} {% else %} - <textarea tabindex=1 rows="7" style="width:750px;margin-bottom:15px;" readonly=yes name="snippet" id="snippet" wrap="off" onkeydown="return catchTab(this,event)">{% if last_attempt %}{{last_attempt.strip}}{% else %}{% if question.type == "bash" %} #!/bin/bash{% else %}{{ question.snippet }}{% endif %}{% endif %}</textarea> + <textarea tabindex=1 rows="3" style="width:750px;margin-bottom:15px;height:auto;" readonly=yes name="snippet" id="snippet" wrap="off">{% if last_attempt %}{% else %}{% if question.type == "bash" %} #!/bin/bash{% else %}{{ question.snippet }}{% endif %}{% endif %}</textarea> - <textarea tabindex=1 rows="10" style="width:750px;margin-bottom:10px;" name="answer" id="answer" wrap="off" onkeydown="return catchTab(this,event)">{% if last_attempt %}{{last_attempt.strip}}{% else %}{% if question.type == "bash" %} #!/bin/bash{% else %}{% endif %}{% endif %}</textarea> + <textarea tabindex=1 rows="10" style="width:750px;margin-bottom:10px;" name="answer" id="answer" wrap="off" onkeydown="return catchTab(this,event)">{% if last_attempt %}{{last_attempt.strip}}{% else %}{% if question.type == "bash" %}{% else %}{% endif %}{% endif %}</textarea> <br> <script type="text/javascript"> |