Added max rank descriptions to division results
This commit is contained in:
parent
cf1340afe3
commit
128137fe79
@ -29,12 +29,15 @@ function refreshDisplay() {
|
|||||||
if (currentDivision == "open") {
|
if (currentDivision == "open") {
|
||||||
image = "/assets/trophy_open.png";
|
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 += "<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>"
|
||||||
} else if (currentDivision == "intermediate") {
|
} else if (currentDivision == "intermediate") {
|
||||||
image = "/assets/trophy_intermediate.png";
|
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>";
|
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>";
|
||||||
|
html += "<p class=\"smallerText\">Max Rank: Champ 3</p>"
|
||||||
} else if (currentDivision == "main") {
|
} else if (currentDivision == "main") {
|
||||||
image = "/assets/trophy_main.png";
|
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 += "<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>Top 10 Winners</p>"
|
html += "<p>Top 10 Winners</p>"
|
||||||
html += "<hr class=\"tableLineLightCentre\">";
|
html += "<hr class=\"tableLineLightCentre\">";
|
||||||
|
@ -12,6 +12,11 @@
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.smallerText {
|
||||||
|
font-size: 0.75em;
|
||||||
|
line-height: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
#body {
|
#body {
|
||||||
background-image: linear-gradient(to right, rgba(0, 0, 255, .8), rgba(255, 165, 0, .8));
|
background-image: linear-gradient(to right, rgba(0, 0, 255, .8), rgba(255, 165, 0, .8));
|
||||||
padding-top: 2%;
|
padding-top: 2%;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user