From ddf3e13669f7232acf6019a0f2f33f397a6e6d51 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Mon, 30 Jan 2017 16:20:18 +0530 Subject: added string based questions. --- yaksh/templates/yaksh/add_question.html | 1 + yaksh/templates/yaksh/question.html | 11 +++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/add_question.html b/yaksh/templates/yaksh/add_question.html index a1b5e90..de3ce56 100644 --- a/yaksh/templates/yaksh/add_question.html +++ b/yaksh/templates/yaksh/add_question.html @@ -57,6 +57,7 @@ +

diff --git a/yaksh/templates/yaksh/question.html b/yaksh/templates/yaksh/question.html index 35c8052..13726c0 100644 --- a/yaksh/templates/yaksh/question.html +++ b/yaksh/templates/yaksh/question.html @@ -142,15 +142,17 @@ function call_skip(url)

{{ question.summary }} {% if question.type == "mcq" %} - (Single Correct Choice) + (SINGLE CORRECT CHOICE) {% elif question.type == "mcc" %} - (Multiple Correct Choices) + (MULTIPLE CORRECT CHOICES) {% elif question.type == "code" %} (PROGRAMMING) {% elif question.type == "upload" %} (ASSIGNMENT UPLOAD) {% elif question.type == "integer" %} (ANSWER IN INTEGER) + {% elif question.type == "string" %} + (ANSWER IN STRING) {% endif %} (Marks : {{ question.points }}) @@ -176,6 +178,11 @@ function call_skip(url)
{% endif %} + {% if question.type == "string" %} + Enter Text:
+ +

+ {% endif %} {% if question.type == "mcc" %} {% for test_case in test_cases %} -- cgit