UÉvora
${t['number']} - ${t['name']}
<%! import markdown as md %> <%def name="pretty(text)"> ${md.markdown(str(text), extensions=['markdown.extensions.tables', 'markdown.extensions.fenced_code', 'markdown.extensions.codehilite', 'markdown.extensions.def_list', 'markdown.extensions.sane_lists'])} %def> <% total_points = sum(q['points'] for q in questions) %> % for i,q in enumerate(questions):
% if q['type'] == 'information':
${pretty(q['text'])}
% elif q['type'] == 'warning':
${q['text']}
% else:
Classificar
${i+1}.
${pretty(q['text'])}
% if q['type'] == 'radio': % for opt in q['options']:
${pretty(opt)}
% endfor % elif q['type'] == 'checkbox': % for opt in q['options']:
${pretty(opt)}
% endfor % elif q['type'] in ('text', 'text_regex'):
% elif q['type'] == 'textarea':
% endif
% if t['show_hints']: % if 'hint' in q:
Ajuda
${pretty(q['hint'])}
% endif # hint % if 'modal' in q:
×
Anexo
${pretty(q['modal'])}
% endif # modal % endif # show_hints % if t['show_points']:
(${q['points'] / total_points * 20.0} pontos)
% endif
% endif
% endfor
Submeter teste
×
Deseja submeter o teste?
Se submeter, o teste será enviado para classificação e já não poderá voltar atrás. Veja se respondeu a todas as questões e desactive as que não pretende classificar.