From fa33ab65f35b82f945521a54b14901eaec1bb27f Mon Sep 17 00:00:00 2001 From: Kento HASEGAWA Date: Tue, 14 Aug 2018 16:44:49 +0900 Subject: [PATCH] Fix the client status display in each question status --- comm/server/templates/part_client_table.html | 2 +- .../templates/part_question_status.html | 20 ++++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/comm/server/templates/part_client_table.html b/comm/server/templates/part_client_table.html index d7b2250..6211db7 100644 --- a/comm/server/templates/part_client_table.html +++ b/comm/server/templates/part_client_table.html @@ -20,7 +20,7 @@ Viewer Mode {% if c|length > 3 %} -  {{c[2]}} + {{c[2]}}  {% endif %} {{c[0]}} {% if c|length > 2 %} diff --git a/comm/server/templates/part_question_status.html b/comm/server/templates/part_question_status.html index f669e44..364b16d 100644 --- a/comm/server/templates/part_question_status.html +++ b/comm/server/templates/part_question_status.html @@ -1,22 +1,32 @@
-
-

問題 【{{qname}}】

+
+

【{{qname}}】

-
+

処理結果

- + {% for c in clients %} + {% if c[1] == "Solver" %} - + + {% endif %} {% endfor %}
クライアントClient (Solver) Status
{{c}} + {% if c|length > 3 %} + {{c[2]}}  + {% endif %} + {{c[0]}} + {% if c|length > 2 %} +  ({{c[2]}}) + {% endif %} +
-- 2.22.0