From d51e0ec0ab8128d9cd4d72e7be4a9c5cd9425804 Mon Sep 17 00:00:00 2001 From: Freya Arbjerg Date: Tue, 27 Jun 2023 23:37:01 +0200 Subject: [PATCH] WebHost: Align multitracker status column to the left (#1645) * Align multitracker status column to the left * Move 'Status' column to after 'Game' column --- WebHostLib/templates/multiTracker.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WebHostLib/templates/multiTracker.html b/WebHostLib/templates/multiTracker.html index d1e9d8764f21..7e6c7ff0df76 100644 --- a/WebHostLib/templates/multiTracker.html +++ b/WebHostLib/templates/multiTracker.html @@ -31,12 +31,12 @@ # Name Game + Status {% block custom_table_headers %} {# implement this block in game-specific multi trackers #} {% endblock %} Checks % - Status Last
Activity @@ -47,13 +47,13 @@ tracked_team=team, tracked_player=player)}}">{{ loop.index }} {{ player_names[(team, loop.index)]|e }} {{ games[player] }} + {{ {0: "Disconnected", 5: "Connected", 10: "Ready", 20: "Playing", + 30: "Goal Completed"}.get(states[team, player], "Unknown State") }} {% block custom_table_row scoped %} {# implement this block in game-specific multi trackers #} {% endblock %} {{ checks["Total"] }}/{{ checks_in_area[player]["Total"] }} {{ percent_total_checks_done[team][player] }} - {{ {0: "Disconnected", 5: "Connected", 10: "Ready", 20: "Playing", - 30: "Goal Completed"}.get(states[team, player], "Unknown State") }} {%- if activity_timers[team, player] -%} {{ activity_timers[team, player].total_seconds() }} {%- else -%}