From 6c4ab452538fd23d67c1c2d508cb4768e601d688 Mon Sep 17 00:00:00 2001
From: mahesh
Date: Wed, 17 May 2017 18:29:33 +0530
Subject: changes answerpaper design to accommodate new stdio error look
---
yaksh/templates/yaksh/grade_user.html | 57 +++++++++++++++++++++++++++--
yaksh/templates/yaksh/user_data.html | 54 +++++++++++++++++++++++++--
yaksh/templates/yaksh/view_answerpaper.html | 52 +++++++++++++++++++++++++-
3 files changed, 155 insertions(+), 8 deletions(-)
(limited to 'yaksh/templates')
diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html
index c93ec10..a711fc2 100644
--- a/yaksh/templates/yaksh/grade_user.html
+++ b/yaksh/templates/yaksh/grade_user.html
@@ -1,4 +1,5 @@
{% extends "manage.html" %}
+{% load custom_filters %}
{% block title %} Grade User {% endblock %}
@@ -132,6 +133,7 @@ Status : Passed
{% csrf_token %}
{% for question, answers in paper.get_question_answers.items %}
+
{{ err }}
{{error|safe}}
+ {% else %}
+ For given Input value(s): | +{{error.given_input}} | +
{{forloop.counter}} | +{{expected|default:""}} | +{{user|default:""}} | + {% if forloop.counter0 in error.error_no or not expected or not user %} ++ {% else %} + | + {% endif %} + + {% endfor %} + |
Error: | +{{error.error}} | +
{{ error }}
{{error|safe}}
+ {% else %}
+ For given Input value(s): | +{{error.given_input}} | +
{{forloop.counter}} | +{{expected|default:""}} | +{{user|default:""}} | + {% if forloop.counter0 in error.error_no or not expected or not user %} ++ {% else %} + | + {% endif %} + + {% endfor %} + |
Error: | +{{error.error}} | +
{{error|safe}}
+ {% else %}
+ For given Input value(s): | +{{error.given_input}} | +
{{forloop.counter}} | +{{expected|default:""}} | +{{user|default:""}} | + {% if forloop.counter0 in error.error_no or not expected or not user %} ++ {% else %} + | + {% endif %} + + {% endfor %} + |
Error: | +{{error.error}} | +
{{ answer.answer.answer.strip }}