Fixed divisions display having the wrong max rank and trophy images
This commit is contained in:
parent
1242ea4586
commit
d882c8741a
1
assets/rl_logo_background.svg
Normal file
1
assets/rl_logo_background.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 15 KiB |
@ -186,7 +186,7 @@ session_start();
|
||||
<div id="divisionDisplayPanel">
|
||||
<h2>Per-Division Results</h2>
|
||||
<div class="divisionNavPanel">
|
||||
<input type="radio" id="openButton" name="division" checked="checked" value="open" onclick="refreshDisplay();">
|
||||
<input type="radio" id="openButton" name="division" value="open" onclick="refreshDisplay();" checked="checked">
|
||||
<label for="openButton" id="openButton">Open</label>
|
||||
<input type="radio" id="intermediateButton" name="division" value="intermediate" onclick="refreshDisplay();">
|
||||
<label for="intermediateButton" id="intermediateButton">Intermediate</label>
|
||||
|
@ -29,7 +29,7 @@ function refreshDisplay() {
|
||||
if (currentDivision == "open") {
|
||||
image = "/assets/trophy_open.png";
|
||||
html += "<h2><img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:left;\">Open<img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:right;\"></h2>";
|
||||
html += "<p class=\"smallerText\">Max Rank: SSL</p>"
|
||||
html += "<p class=\"smallerText\">Max Rank: Plat 3</p>"
|
||||
} else if (currentDivision == "intermediate") {
|
||||
image = "/assets/trophy_intermediate.png";
|
||||
html += "<h2><img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:left;\">Intermediate<img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:right;\"></h2>";
|
||||
@ -37,7 +37,7 @@ function refreshDisplay() {
|
||||
} else if (currentDivision == "main") {
|
||||
image = "/assets/trophy_main.png";
|
||||
html += "<h2><img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:left;\">Main<img src=" + image + " class=\"lineImage\" alt=\"" + currentDivision + " division trophy\" style=\"float:right;\"></h2>";
|
||||
html += "<p class=\"smallerText\">Max Rank: Plat 3</p>"
|
||||
html += "<p class=\"smallerText\">Max Rank: SSL</p>"
|
||||
}
|
||||
html += "<p>Top 10 Winners</p>"
|
||||
html += "<hr class=\"tableLineLightCentre\">";
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user