From 1fa9c011a41a03dd1403f2ee03e68e2e6c78b112 Mon Sep 17 00:00:00 2001 From: Miguel Barão Date: Thu, 14 Apr 2022 17:05:47 +0100 Subject: [PATCH] fix grade.html --- perguntations/templates/grade.html | 50 ++++++++++++++++++++++++++++++++++---------------- perguntations/templates/review.html | 18 +++++++++--------- 2 files changed, 43 insertions(+), 25 deletions(-) diff --git a/perguntations/templates/grade.html b/perguntations/templates/grade.html index 400d560..19fd034 100644 --- a/perguntations/templates/grade.html +++ b/perguntations/templates/grade.html @@ -16,34 +16,52 @@ -
{% if t['state'] == 'CORRECTED' %} -

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

+

Nota: {{ 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 %} +

- Sair do teste + Sair

diff --git a/perguntations/templates/review.html b/perguntations/templates/review.html index 4420bed..d47c099 100644 --- a/perguntations/templates/review.html +++ b/perguntations/templates/review.html @@ -48,18 +48,18 @@
-- libgit2 0.21.2