From 42bb0a6f98330fea247e5b9ddd42ee91e1680c9f Mon Sep 17 00:00:00 2001 From: Prabhu Ramachandran Date: Mon, 21 Nov 2011 13:45:50 +0530 Subject: Slightly prettier output. --- templates/exam/monitor.html | 2 +- templates/exam/user_data.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/exam/monitor.html b/templates/exam/monitor.html index 201e5db..a9eac24 100644 --- a/templates/exam/monitor.html +++ b/templates/exam/monitor.html @@ -44,7 +44,7 @@ {% for paper in paper_list %} - {{ paper.name }} + {{ paper.name.title }} {{ paper.username }} {{ paper.rollno }} {{ paper.answered }} diff --git a/templates/exam/user_data.html b/templates/exam/user_data.html index a2649fb..c180983 100644 --- a/templates/exam/user_data.html +++ b/templates/exam/user_data.html @@ -1,12 +1,12 @@ {% extends "base.html" %} -{% block title %} Data for user {{ user_data.name }} {% endblock title %} +{% block title %} Data for user {{ user_data.name.title }} {% endblock title %} {% block content %} -

Data for user {{ user_data.name }}

+

Data for user {{ user_data.name.title }}

-

Name: {{ user_data.name }}

+

Name: {{ user_data.name.title }}

Username: {{ user_data.username }}

Roll number: {{ user_data.rollno }}

Email: {{ user_data.email }}

@@ -28,7 +28,7 @@ {% if paper.answers %}

Answers

{% for question, answer in paper.answers.items %} -

Question summary: {{ question }}

+

Question: {{ question }}

 
 {{ answer|safe }}
 
-- cgit