{% extends "manage.html" %} {% load custom_filters %} {% block title %} Monitor {% endblock %} {% block pagetitle %} {{ msg }} {% endblock pagetitle %} {% block meta %} {% endblock meta %} {% block script %} {% if papers %} {% endif %} {% endblock %} {% block content %} {# ############################################################### #} {# This is rendered when we are just viewing exam/monitor #} {% if course_details %} {% for course in course_details %} {% if course.get_quizzes %} {% else %} {% endif %} {% endfor %}
Courses Quizzes
    {{course.name}}
{% for quiz in course.get_quizzes %}
  • {{quiz.description}}
  • {% endfor %}
    No quiz
    {% endif %} {# ############################################################### #} {# This is rendered when we are just viewing exam/monitor/quiz_num #} {% if msg != "Monitor" %} {% if quiz %} {% if papers %}

    Course Name: {{ quiz.course.name }}

    Quiz Name: {{ quiz.description }}

    Number of papers: {{ papers|length }}

    {% completed papers as completed_papers %} {# template tag used to get the count of completed papers #}

    Papers completed: {{ completed_papers }}

    {% inprogress papers as inprogress_papers %} {# template tag used to get the count of inprogress papers #}

    Papers in progress: {{ inprogress_papers }}

    Question Statisitics

    {% for paper in latest_attempts %} {% endfor %}
    Name Username Roll number Institute Questions answered Marks obtained Attempts Time Remaining Status
    {{ paper.user.get_full_name.title }} {{ paper.user.username }} {{ paper.user.profile.roll_number }} {{ paper.user.profile.institute }} {{ paper.get_answered_str }} {{ paper.marks_obtained }} {{ paper.answers.count }} {{ paper.time_left }} {{ paper.status }}
    {% else %}

    No answer papers found for {{ quiz.description }}

    {% endif %} {# if papers #} {% else %}

    No Quiz Found

    {% endif %} {% endif %} {% endblock %}