diff --git a/perguntations/templates/grade.html b/perguntations/templates/grade.html index 4bd29a9..633b054 100644 --- a/perguntations/templates/grade.html +++ b/perguntations/templates/grade.html @@ -9,56 +9,46 @@ - - - - - + -
-
- {% if t['state'] == 'CORRECTED' %} - {% if t['grade'] - t['scale'][0] >= 0.75*(t['scale'][1] - t['scale'][0]) %} -

- +
+
+ {% if t['state'] == 'CORRECTED' %} +

+ Resultado: {{ f'{round(t["grade"], 3)}' }} valores +

+ {% elif t['state'] == 'SUBMITTED' %} +

A prova foi submetida com sucesso. Vai ser corrigida mais tarde.

+ {% elif t['state'] == 'QUIT' %} +

Foi registada a sua desistĂȘncia da prova.

{% end %} -

Resultado: - {{ f'{round(t["grade"], 3)}' }} - valores na escala [{{t['scale'][0]}},{{t['scale'][1]}}]. -

- {% elif t['state'] == 'SUBMITTED' %} -

A prova foi submetida com sucesso. Vai ser corrigida mais tarde.

- {% elif t['state'] == 'QUIT' %} -

Foi registada a sua desistĂȘncia da prova.

- {% end %} - -

Sair do teste

-
-
+

+ + Sair do teste + +

+
+
-- libgit2 0.21.2