diff options
author | adityacp | 2017-01-02 15:29:43 +0530 |
---|---|---|
committer | adityacp | 2017-01-02 15:29:43 +0530 |
commit | e1f467bd5e366ed8b16bd71b66338a7b42fda72a (patch) | |
tree | 3e1465774ceafa4b76af4fce2f36d5d596182e10 /yaksh | |
parent | e90b4d07558b757ba14aaa390f22337b6d4f8bf0 (diff) | |
download | online_test-e1f467bd5e366ed8b16bd71b66338a7b42fda72a.tar.gz online_test-e1f467bd5e366ed8b16bd71b66338a7b42fda72a.tar.bz2 online_test-e1f467bd5e366ed8b16bd71b66338a7b42fda72a.zip |
Add minor template change in questions
Diffstat (limited to 'yaksh')
-rw-r--r-- | yaksh/static/yaksh/js/add_question.js | 5 | ||||
-rw-r--r-- | yaksh/templates/yaksh/add_question.html | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/yaksh/static/yaksh/js/add_question.js b/yaksh/static/yaksh/js/add_question.js index e435dde..8ca22eb 100644 --- a/yaksh/static/yaksh/js/add_question.js +++ b/yaksh/static/yaksh/js/add_question.js @@ -76,8 +76,9 @@ function textareaformat() document.getElementById('id_type').setAttribute('class','select-type'); document.getElementById('id_points').setAttribute('class','mini-text'); document.getElementById('id_tags').setAttribute('class','tag-text'); - - + $("[id*="+'test_case_args'+"]").attr('placeholder', + 'Command Line arguments for bash only'); + $('#id_snippet').bind('keydown', function( event ){ if(navigator.userAgent.match("Gecko")) { diff --git a/yaksh/templates/yaksh/add_question.html b/yaksh/templates/yaksh/add_question.html index 77a7b3a..75802b4 100644 --- a/yaksh/templates/yaksh/add_question.html +++ b/yaksh/templates/yaksh/add_question.html @@ -25,7 +25,6 @@ <tr><td>Tags: <td>{{ qform.tags }} <tr><td>Snippet: <td>{{ qform.snippet }} <tr><td>Partial Grading: <td>{{ qform.partial_grading }} - <tr><td> Test Case Type: <td> {{ qform.test_case_type }}{{ qform.test_case_type.errors }} <tr><td> File: <td> {{ fileform.file_field }}{{ fileform.file_field.errors }} {% if uploaded_files %}<br><b>Uploaded files:</b><br>Check on delete to delete files, extract to extract files and hide to hide files from student(if required)<br> |