Prova:
{{t['title']}}
Nome:
{{t['student']['name']}}
Número:
{{t['student']['number']}}
Início:
{{t['start_time'][:19]}}
Fim:
{{t['finish_time'][:19]}}
Nota:
{{ t['grade'] }} valores {% if t['state'] == 'QUIT' %} (DESISTÊNCIA) {% end %}
{% if t['comment'] != '' %}
Comentário:
{{ t['comment'] }}
{% end %}
Referência:
{{t['ref']}}
IP:
{{t['student']['ip_address']}}
Browser:
{{t['student']['user_agent']}}
{% for i,q in enumerate(t['questions']) %} {% if q['type'] == 'information' %}

${q['title']}

${md_to_html_review(q['text'], q)}
% elif q['type'] == 'warning': % elif q['type'] == 'alert': % else:

${q['title']}

Classificar  % if q['answer'] is not None: % else: % endif
${md_to_html_review(q['text'], q)}
% if q['type'] == 'radio':
    % for opt in q['options']:
  • % if q['answer'] is not None and str(loop.index) == q['answer']: ${md_to_html_review(' ' + opt, q)} % if q['correct'][loop.index] > 0:
    % else:
    % endif % else: ${md_to_html_review(' ' + opt, q)} % if q['correct'][loop.index] > 0:
    % endif % endif
  • % endfor
% elif q['type'] == 'checkbox':
    % for opt in q['options']:
  • % if q['answer'] is not None and str(loop.index) in q['answer']: ${md_to_html_review(' ' + opt, q)} % if q['correct'][loop.index] > 0:
    % elif q['correct'][loop.index] < 0:
    % endif % else: ${md_to_html_review(' ' + opt, q)} % if q['correct'][loop.index] > 0:
    % elif q['correct'][loop.index] < 0:
    % endif % endif
  • % endfor
% elif q['type'] in ('text', 'text_regex', 'text_numeric', 'textarea'):
${q['answer'] if q['answer'] is not None else ''}
% endif % if t['show_hints']: % if 'hint' in q:
${md_to_html_review(q['hint'], q)}
% endif # hint % endif % if t['show_points']:

(Cotação: ${round(q['points'] / total_points * 20.0, 2)} pontos)

% endif

% if t['state'] == 'FINISHED': % endif
% endif # question type {% end %}