Skip to content

Commit ec9504e

Browse files
committed
[scoreboard] Add light green background for solved tasks
1 parent 4a07ee9 commit ec9504e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scoreboard/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
max_sol_points = int(cfg["scoreboard"]["task"][task_type]["solution"]["max"])
7272
task_count = 0
7373
if directories[dir].get(task_type) == "done":
74-
html_content += f'<td style="text-align: center;">{max_sol_points}</td>'
74+
html_content += f'<td style="text-align: center;background-color: lightgreen;">{max_sol_points}</td>'
7575
task_count += max_sol_points
7676
elif directories[dir].get(task_type) == "disabled":
7777
html_content += f'<td style="text-align: center;background-color: lightblue;">{max_sol_points}</td>'

0 commit comments

Comments
 (0)