add icon nail binding
This commit is contained in:
parent
391037be88
commit
546d4697fc
7 changed files with 61 additions and 23 deletions
|
|
@ -1970,7 +1970,16 @@ function CheckPantheon(db, sectionName, playerData) {
|
|||
for (let entry in entries) {
|
||||
|
||||
if (playerData[property][entry] === true) {
|
||||
SetIconGreen(section, entry);
|
||||
|
||||
switch(entry) {
|
||||
|
||||
case "boundNail":
|
||||
SetIcon(section, entry, "bindingNail");
|
||||
break;
|
||||
|
||||
default:
|
||||
SetIconGreen(section, entry);
|
||||
}
|
||||
} else {
|
||||
SetIconRed(section, entry);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -208,6 +208,7 @@ function GenerateInnerHTML(db) {
|
|||
let iconPartial = SYMBOL_PARTIAL;
|
||||
let iconClock = SYMBOL_CLOCK;
|
||||
let iconNull = SYMBOL_EMPTY;
|
||||
let iconBindingNail = SYMBOL_BINDING_NAIL;
|
||||
|
||||
let finalHTMLFill = "";
|
||||
let textFill = "";
|
||||
|
|
@ -457,7 +458,7 @@ function GenerateInnerHTML(db) {
|
|||
|
||||
break;
|
||||
|
||||
/* ###################### Create all other sections ##################### */
|
||||
/* ######################### Create all other sections ################################################################## */
|
||||
|
||||
default:
|
||||
|
||||
|
|
@ -507,6 +508,10 @@ function GenerateInnerHTML(db) {
|
|||
obj.span[0] = "<span class='spoiler-span-green'>";
|
||||
break;
|
||||
|
||||
case "bindingNail":
|
||||
obj.icon = iconBindingNail;
|
||||
break;
|
||||
|
||||
case "red":
|
||||
obj.icon = iconRed;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue