diff options
author | hardythe1 | 2012-02-24 16:16:38 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-24 16:16:38 +0530 |
commit | b1fbf5b02280de5b78b0249e777a179e34b50b98 (patch) | |
tree | f133bd5e556d4d0e8bbc94c9ffbac22bcc46bb31 /testapp/templates/exam/monitor.html | |
parent | dd3fd7b8c58d836baba24441e7d55c6d51858eab (diff) | |
download | online_test-b1fbf5b02280de5b78b0249e777a179e34b50b98.tar.gz online_test-b1fbf5b02280de5b78b0249e777a179e34b50b98.tar.bz2 online_test-b1fbf5b02280de5b78b0249e777a179e34b50b98.zip |
formating and identation
Diffstat (limited to 'testapp/templates/exam/monitor.html')
-rw-r--r-- | testapp/templates/exam/monitor.html | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/testapp/templates/exam/monitor.html b/testapp/templates/exam/monitor.html index 60814c7..a0287e7 100644 --- a/testapp/templates/exam/monitor.html +++ b/testapp/templates/exam/monitor.html @@ -6,18 +6,15 @@ {% block manage %} -{% if not quizzes and not quiz %} -<h1><center> Quiz results </center></h1> - -<center><h5> No quizzes available. </h5></center> - -{% endif %} + {% if not quizzes and not quiz %} + <h1><center> Quiz results </center></h1> + <center><h5> No quizzes available. </h5></center> + {% endif %} {# ############################################################### #} {# This is rendered when we are just viewing exam/monitor #} {% if quizzes %} <center><h1> Available quizzes </h1></center> - <ul> {% for quiz in quizzes %} <li><a href="{{URL_ROOT}}/exam/manage/monitor/{{quiz.id}}/">{{ quiz.description }}</a></li> @@ -33,32 +30,32 @@ {% if papers %} {# <p> Quiz: {{ quiz_name }}</p> #} <p>Number of papers: {{ papers|length }} </p> -<style type="text/css"> -table td { - vertical-align: top; - border-top: 1px solid #ddd; -} -table tbody th { - border-top: 1px solid #ddd; - vertical-align: top; -} -</style> + <style type="text/css"> + table td + { + vertical-align: top; + border-top: 1px solid #ddd; + } + table tbody th + { + border-top: 1px solid #ddd; + vertical-align: top; + } + </style> <table border="1" cellpadding="3"> <tr> - <th> Name </th> - <th> Username </th> - <th> Roll number </th> - <th> Institute </th> - <th> Questions answered </th> - <th> Total marks </th> - <th> Attempts </th> + <th> Name </th> + <th> Username </th> + <th> Roll number </th> + <th> Institute </th> + <th> Questions answered </th> + <th> Total marks </th> + <th> Attempts </th> </tr> {% for paper in papers %} <tr> - <td> <a href="{{URL_ROOT}}/exam/manage/user_data/{{paper.user.username}}"> - {{ paper.user.get_full_name.title }}</a> </td> - <td> <a href="{{URL_ROOT}}/exam/manage/user_data/{{paper.user.username}}"> - {{ paper.user.username }}</a> </td> + <td> <a href="{{URL_ROOT}}/exam/manage/user_data/{{paper.user.username}}">{{ paper.user.get_full_name.title }}</a> </td> + <td> <a href="{{URL_ROOT}}/exam/manage/user_data/{{paper.user.username}}">{{ paper.user.username }}</a> </td> <td> {{ paper.profile.roll_number }} </td> <td> {{ paper.profile.institute }} </td> <td> {{ paper.get_answered_str }} </td> |