diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/exam/monitor.html | 2 | ||||
-rw-r--r-- | templates/exam/user_data.html | 8 |
2 files changed, 5 insertions, 5 deletions
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 @@ </tr> {% for paper in paper_list %} <tr> - <td> <a href="{{URL_ROOT}}/exam/user_data/{{paper.username}}">{{ paper.name }}</a> </td> + <td> <a href="{{URL_ROOT}}/exam/user_data/{{paper.username}}">{{ paper.name.title }}</a> </td> <td> <a href="{{URL_ROOT}}/exam/user_data/{{paper.username}}">{{ paper.username }}</a> </td> <td> {{ paper.rollno }} </td> <td> {{ paper.answered }} </td> 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 %} -<h1> Data for user {{ user_data.name }} </h1> +<h1> Data for user {{ user_data.name.title }} </h1> -<p> Name: {{ user_data.name }} </p> +<p> Name: {{ user_data.name.title }} </p> <p> Username: {{ user_data.username }} </p> <p> Roll number: {{ user_data.rollno }} </p> <p> Email: {{ user_data.email }} </p> @@ -28,7 +28,7 @@ {% if paper.answers %} <h3> Answers </h3> {% for question, answer in paper.answers.items %} -<h4> Question summary: {{ question }} </h4> +<p><strong> Question: {{ question }} </strong> </p> <pre> {{ answer|safe }} </pre> |