diff options
Diffstat (limited to 'testapp/templates')
-rw-r--r-- | testapp/templates/exam/grade_user.html | 24 | ||||
-rw-r--r-- | testapp/templates/exam/monitor.html | 29 |
2 files changed, 7 insertions, 46 deletions
diff --git a/testapp/templates/exam/grade_user.html b/testapp/templates/exam/grade_user.html index 89faf46..fa0e516 100644 --- a/testapp/templates/exam/grade_user.html +++ b/testapp/templates/exam/grade_user.html @@ -1,18 +1,10 @@ -{% extends "base.html" %} +{% extends "manage.html" %} {% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %} -{% block content %} - - <div class="container"> - <div class="content"> -<div class="page-header"> -<h1><Strong><center>Online Test</center></strong></h1> -</div> - <div class=row> - <div class=span14> -<h3><center>Grading papers for {{ data.user.get_full_name.title }}</center></h3><br> +{% block subtitle %}Grading papers for {{ data.user.get_full_name.title }}{% endblock %} +{% block manage %} <p> Name: {{ data.user.get_full_name.title }} @@ -89,13 +81,5 @@ Marks: <input id="q{{ question.id }}" type="text" {% endif %} <br /> <a href="{{URL_ROOT}}/admin/">Admin</a> -</div> - </div> - </div> -<footer> - <p>© FOSSEE group, IIT Bombay</p> - </footer> - - </div> <!-- /container --> -{% endblock content %} +{% endblock%} diff --git a/testapp/templates/exam/monitor.html b/testapp/templates/exam/monitor.html index 0b59f76..4847545 100644 --- a/testapp/templates/exam/monitor.html +++ b/testapp/templates/exam/monitor.html @@ -1,23 +1,13 @@ -{% extends "base.html" %} - -<html lang="en"> +{% extends "manage.html" %} {% block title %} Quiz results {% endblock title %} {% block meta %} <meta http-equiv="refresh" content="30"/> {% endblock meta %} - <body> -{% block content %} - <div class="container"> - <div class="content"> -<div class="page-header"> - +{% block manage %} {% if not quizzes and not quiz %} <h1><center> Quiz results </center></h1> -</div> - <div class=row> - <div class=span14> <center><h5> No quizzes available. </h5></center> @@ -27,9 +17,6 @@ {# This is rendered when we are just viewing exam/monitor #} {% if quizzes %} <center><h1> Available quizzes </h1></center> -</div> - <div class=row> - <div class=span14> <ul> {% for quiz in quizzes %} @@ -42,9 +29,6 @@ {# This is rendered when we are just viewing exam/monitor/quiz_num #} {% if quiz %} <center><h1> {{ quiz.description }} results </h1></center> -</div> - <div class=row> - <div class=span14> {% if papers %} {# <p> Quiz: {{ quiz_name }}</p> #} @@ -88,11 +72,4 @@ table tbody th { {% endif %} {# if papers #} {% endif %} <a href="{{URL_ROOT}}/admin/">Admin</a> -</div></div></div> - - -<footer> - <p>© FOSSEE group, IIT Bombay</p> - </footer> -</div> -{% endblock content %} +{% endblock %} |