diff options
author | mahesh | 2017-05-22 14:32:47 +0530 |
---|---|---|
committer | mahesh | 2017-05-22 14:32:47 +0530 |
commit | 77f05d3df90a70ff97285deb5bda2d91d99e65d5 (patch) | |
tree | cf292b268f8f8dc322ea8bd50d2bbd65abef39e7 /yaksh/templates | |
parent | 153f738c3c43b26339fb625aba8336b3f8265991 (diff) | |
download | online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.tar.gz online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.tar.bz2 online_test-77f05d3df90a70ff97285deb5bda2d91d99e65d5.zip |
changes variable and dict key names along with other minor changes in answerpaper.
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/exam.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/grade_user.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/user_data.html | 4 | ||||
-rw-r--r-- | yaksh/templates/yaksh/view_answerpaper.html | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index f349b2f..45b85f0 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -109,7 +109,7 @@ <td> {{forloop.counter}} </td> <td>{{expected|default:""}} </td> <td>{{user|default:""}}</td> - {% if forloop.counter0 in error.error_no or not expected or not user %} + {% if forloop.counter0 in error.error_line_numbers or not expected or not user %} <td><span class ="glyphicon glyphicon-remove text-warning"/></td> {% else %} <td><span class ="glyphicon glyphicon-ok text-success"/></td> @@ -121,7 +121,7 @@ <col width="10"> <tr class = "danger"> <td><b>Error:</b></td> - <td>{{error.error}}</td> + <td>{{error.error_msg}}</td> </tr> </table> diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html index a711fc2..9cdfb1a 100644 --- a/yaksh/templates/yaksh/grade_user.html +++ b/yaksh/templates/yaksh/grade_user.html @@ -230,7 +230,7 @@ Status : <b style="color: green;"> Passed </b><br/> <td> {{forloop.counter}} </td> <td>{{expected|default:""}} </td> <td>{{user|default:""}}</td> - {% if forloop.counter0 in error.error_no or not expected or not user %} + {% if forloop.counter0 in error.error_line_numbers or not expected or not user %} <td><span class ="glyphicon glyphicon-remove text-warning"/></td> {% else %} <td><span class ="glyphicon glyphicon-ok text-success"/></td> @@ -242,7 +242,7 @@ Status : <b style="color: green;"> Passed </b><br/> <col width="10"> <tr class = "danger"> <td><b>Error:</b></td> - <td>{{error.error}}</td> + <td>{{error.error_msg}}</td> </tr> </table> </div> diff --git a/yaksh/templates/yaksh/user_data.html b/yaksh/templates/yaksh/user_data.html index 1af27e6..a8adc22 100644 --- a/yaksh/templates/yaksh/user_data.html +++ b/yaksh/templates/yaksh/user_data.html @@ -149,7 +149,7 @@ User IP address: {{ paper.user_ip }} <td> {{forloop.counter}} </td> <td>{{expected|default:""}} </td> <td>{{user|default:""}}</td> - {% if forloop.counter0 in error.error_no or not expected or not user %} + {% if forloop.counter0 in error.error_line_numbers or not expected or not user %} <td><span class ="glyphicon glyphicon-remove text-warning"/></td> {% else %} <td><span class ="glyphicon glyphicon-ok text-success"/></td> @@ -161,7 +161,7 @@ User IP address: {{ paper.user_ip }} <col width="10"> <tr class = "danger"> <td><b>Error:</b></td> - <td>{{error.error}}</td> + <td>{{error.error_msg}}</td> </tr> </table> </div> diff --git a/yaksh/templates/yaksh/view_answerpaper.html b/yaksh/templates/yaksh/view_answerpaper.html index 71536eb..9edff5a 100644 --- a/yaksh/templates/yaksh/view_answerpaper.html +++ b/yaksh/templates/yaksh/view_answerpaper.html @@ -134,7 +134,7 @@ <td> {{forloop.counter}} </td> <td>{{expected|default:""}} </td> <td>{{user|default:""}}</td> - {% if forloop.counter0 in error.error_no or not expected or not user %} + {% if forloop.counter0 in error.error_line_numbers or not expected or not user %} <td><span class ="glyphicon glyphicon-remove text-warning"/></td> {% else %} <td><span class ="glyphicon glyphicon-ok text-success"/></td> @@ -146,7 +146,7 @@ <col width="10"> <tr class = "danger"> <td><b>Error:</b></td> - <td>{{error.error}}</td> + <td>{{error.error_msg}}</td> </tr> </table> </div> |