From 1749ca333cd9c76609d0ba3ea87c2801d2f62ef9 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 23 Feb 2021 20:19:41 -0500 Subject: [PATCH] Fix alignment issue, include checks done / total checks --- WebHostLib/static/styles/playerTracker.css | 9 +++++-- WebHostLib/templates/playerTracker.html | 28 +++++++++++----------- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/WebHostLib/static/styles/playerTracker.css b/WebHostLib/static/styles/playerTracker.css index 9f18f0fd..5929495c 100644 --- a/WebHostLib/static/styles/playerTracker.css +++ b/WebHostLib/static/styles/playerTracker.css @@ -40,7 +40,7 @@ #location-table th{ vertical-align: middle; - text-align: center; + text-align: right; } #location-table td{ @@ -48,11 +48,16 @@ padding-bottom: 2px; } -#location-table th.counter, #location-table td.counter{ +#location-table th.counter{ padding-right: 10px; text-align: center; } +#location-table td.counter{ + padding-right: 10px; + text-align: right; +} + #location-table img{ height: 100%; max-width: 30px; diff --git a/WebHostLib/templates/playerTracker.html b/WebHostLib/templates/playerTracker.html index ec77046a..5a198e78 100644 --- a/WebHostLib/templates/playerTracker.html +++ b/WebHostLib/templates/playerTracker.html @@ -54,78 +54,78 @@ Hyrule Castle - 0 / 0 - 0 / 0 + {{ checks_done["Hyrule Castle"] }} / {{ checks_in_area["Hyrule Castle"] }} + N/A Eastern Palace - 0 / 0 + {{ checks_done["Eastern Palace"] }} / {{ checks_in_area["Eastern Palace"] }} 0 / 0 Desert Palace - 0 / 0 + {{ checks_done["Desert Palace"] }} / {{ checks_in_area["Desert Palace"] }} 0 / 0 Tower of Hera - 0 / 0 + {{ checks_done["Tower of Hera"] }} / {{ checks_in_area["Tower of Hera"] }} 0 / 0 Agahnim's Tower - 0 / 0 + {{ checks_done["Agahnims Tower"] }} / {{ checks_in_area["Agahnims Tower"] }} 0 / 0 Palace of Darkness - 0 / 0 + {{ checks_done["Palace of Darkness"] }} / {{ checks_in_area["Palace of Darkness"] }} 0 / 0 Swamp Palace - 0 / 0 + {{ checks_done["Swamp Palace"] }} / {{ checks_in_area["Swamp Palace"] }} 0 / 0 Skull Woods - 0 / 0 + {{ checks_done["Skull Woods"] }} / {{ checks_in_area["Skull Woods"] }} 0 / 0 Thieves' Town - 0 / 0 + {{ checks_done["Thieves Town"] }} / {{ checks_in_area["Thieves Town"] }} 0 / 0 Ice Palace - 0 / 0 + {{ checks_done["Ice Palace"] }} / {{ checks_in_area["Ice Palace"] }} 0 / 0 Misery Mire - 0 / 0 + {{ checks_done["Misery Mire"] }} / {{ checks_in_area["Misery Mire"] }} 0 / 0 Turtle Rock - 0 / 0 + {{ checks_done["Turtle Rock"] }} / {{ checks_in_area["Turtle Rock"] }} 0 / 0 Ganon's Tower - 0 / 0 + {{ checks_done["Ganons Tower"] }} / {{ checks_in_area["Ganons Tower"] }} 0 / 0