{% extends "base.html" %} {% block title %}{{ test_info['test_name'] }}{% endblock %} {% block description %}Сетевой тренажер для обучения компьютерным сетям{% endblock %} {% block content %}

{{ test_info['test_name'] }}

{% for section in sections %} {# Modal window for taken tests #} {# Modal window for not retakeable tests #}
{# Section name and description #}

{{ section.section_name }}

{% if section.description is not none %}

{{ section.description }}

{% endif %}
{# Questions and time count #}
{% if section.session_guid is defined and section.last_correct_count is defined %} {# Button for last result #} {{ section.last_correct_count }}/{{ section.question_count }} верно {% elif section.last_correct_count is defined %} {# Last result just text #}

{{ section.last_correct_count }}/{{ section.question_count }} верно

{% else %} {# Text with questions count #}

{% endif %} {% if section.timer != null %}

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