From 646807d4df9ba413b791f5f5a3f962acce6b3d37 Mon Sep 17 00:00:00 2001 From: Kento HASEGAWA Date: Fri, 17 Aug 2018 12:18:03 +0900 Subject: [PATCH] Fix UI bugs --- comm/server/templates/part_question_status.html | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/comm/server/templates/part_question_status.html b/comm/server/templates/part_question_status.html index 997194f..41c9ebc 100644 --- a/comm/server/templates/part_question_status.html +++ b/comm/server/templates/part_question_status.html @@ -44,20 +44,22 @@ Score {% for k, v in qdata.answers.items() %} - {% if qdata.best_json == k %} + {% if (qdata.best_json == k) and (v.answer != "") %} {% else %} {% endif %} {{v.timestamp}} {{v.solver}} - {{v.nlcheck}} + + {% if v.nlcheck == -1 %} + Not solved + {% else %} + {{v.nlcheck}} + {% endif %} + {% endfor %} -

状況:{{qdata.status}}

-

結果

-

クライアント:{{qdata.answer.client}}

-
{{qdata.answer.answer}}
-- 2.22.0