From 40f0ef1d76009e52ae197ce4d4501a158ad699f2 Mon Sep 17 00:00:00 2001 From: Arseniy Obolenskiy Date: Mon, 10 Mar 2025 15:09:33 +0100 Subject: [PATCH] [scoreboard] Add light green background for solved tasks --- scoreboard/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scoreboard/main.py b/scoreboard/main.py index c40344763..164826a0a 100644 --- a/scoreboard/main.py +++ b/scoreboard/main.py @@ -71,15 +71,15 @@ max_sol_points = int(cfg["scoreboard"]["task"][task_type]["solution"]["max"]) task_count = 0 if directories[dir].get(task_type) == "done": - html_content += f'{max_sol_points}' + html_content += f'{max_sol_points}' task_count += max_sol_points elif directories[dir].get(task_type) == "disabled": html_content += f'{max_sol_points}' task_count += max_sol_points else: html_content += '0' - html_content += '0' - html_content += '0' + html_content += '0' + html_content += '0' html_content += '0' is_cheated = \ dir in plagiarism_cfg["plagiarism"][task_type] or \