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") {
|
||||
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>"
|
||||
} 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>";
|
||||
html += "<p class=\"smallerText\">Max Rank: Champ 3</p>"
|
||||
} 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>Top 10 Winners</p>"
|
||||
html += "<hr class=\"tableLineLightCentre\">";
|
||||
|
@ -12,6 +12,11 @@
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.smallerText {
|
||||
font-size: 0.75em;
|
||||
line-height: 0.25em;
|
||||
}
|
||||
|
||||
#body {
|
||||
background-image: linear-gradient(to right, rgba(0, 0, 255, .8), rgba(255, 165, 0, .8));
|
||||
padding-top: 2%;
|
||||
|
Loading…
x
Reference in New Issue
Block a user