From e1f467bd5e366ed8b16bd71b66338a7b42fda72a Mon Sep 17 00:00:00 2001 From: adityacp Date: Mon, 2 Jan 2017 15:29:43 +0530 Subject: Add minor template change in questions --- yaksh/static/yaksh/js/add_question.js | 5 +++-- yaksh/templates/yaksh/add_question.html | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'yaksh') 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 @@ Tags: {{ qform.tags }} Snippet: {{ qform.snippet }} Partial Grading: {{ qform.partial_grading }} - Test Case Type: {{ qform.test_case_type }}{{ qform.test_case_type.errors }} File: {{ fileform.file_field }}{{ fileform.file_field.errors }} {% if uploaded_files %}
Uploaded files:
Check on delete to delete files, extract to extract files and hide to hide files from student(if required)
-- cgit