From d882c8741a9792ad6a5891cffe8ae9041819e160 Mon Sep 17 00:00:00 2001 From: Taylor Courage Date: Sat, 8 Mar 2025 19:13:06 -0500 Subject: [PATCH] Fixed divisions display having the wrong max rank and trophy images --- assets/rl_logo_background.svg | 1 + display/general_results.php | 2 +- scripts/results.js | 4 ++-- styles/header.css | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 assets/rl_logo_background.svg diff --git a/assets/rl_logo_background.svg b/assets/rl_logo_background.svg new file mode 100644 index 0000000..17c7de2 --- /dev/null +++ b/assets/rl_logo_background.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/display/general_results.php b/display/general_results.php index 5f4bd65..6e431de 100644 --- a/display/general_results.php +++ b/display/general_results.php @@ -186,7 +186,7 @@ session_start();

Per-Division Results

- + diff --git a/scripts/results.js b/scripts/results.js index ca0a112..443d6ca 100644 --- a/scripts/results.js +++ b/scripts/results.js @@ -29,7 +29,7 @@ function refreshDisplay() { if (currentDivision == "open") { image = "/assets/trophy_open.png"; html += "

\""Open\""

"; - html += "

Max Rank: SSL

" + html += "

Max Rank: Plat 3

" } else if (currentDivision == "intermediate") { image = "/assets/trophy_intermediate.png"; html += "

\""Intermediate\""

"; @@ -37,7 +37,7 @@ function refreshDisplay() { } else if (currentDivision == "main") { image = "/assets/trophy_main.png"; html += "

\""Main\""

"; - html += "

Max Rank: Plat 3

" + html += "

Max Rank: SSL

" } html += "

Top 10 Winners

" html += "
"; diff --git a/styles/header.css b/styles/header.css index b286be1..c55b633 100644 --- a/styles/header.css +++ b/styles/header.css @@ -12,7 +12,7 @@ #headerLeft { height: 100%; - width: 20%; + width: 19%; } #headerLeft img { border-radius: 50%; @@ -25,7 +25,7 @@ #headerRight { height: 100%; - width: 20%; + width: 19%; text-align: right; } #headerRight img {