add horizontal line divider
This commit is contained in:
parent
46c35e7af8
commit
71c0288b69
4 changed files with 7 additions and 24 deletions
|
|
@ -4918,6 +4918,7 @@ function GenerateInnerHTML(sections) {
|
||||||
default:
|
default:
|
||||||
for (var entry in entries) {
|
for (var entry in entries) {
|
||||||
textFill += SingleEntryFill(section, entries[entry]);
|
textFill += SingleEntryFill(section, entries[entry]);
|
||||||
|
if (entry === "saveVersion") textFill += FLEUR_DIVIDE;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -5094,7 +5095,7 @@ function SingleEntryFill(section, entry) {
|
||||||
if (textPrefix.includes("<del>")) textSuffix = "<del>".concat(textSuffix, "</del>");
|
if (textPrefix.includes("<del>")) textSuffix = "<del>".concat(textSuffix, "</del>");
|
||||||
}
|
}
|
||||||
|
|
||||||
return [div, icon, "".concat(b[0]).concat(textPrefix).concat(b[1]), span[0], p, spoiler[0], "".concat(textSuffix).concat(spoilerAfter), spoiler[1], span[1], "</div>"].join("");
|
return [div, icon, "".concat(b[0]).concat(textPrefix).concat(b[1]), span[0], p, spoiler[0], "".concat(textSuffix).concat(spoilerAfter), spoiler[1], span[1], "</div>\n"].join("");
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Adds HTML string to an element with a given ID.
|
* Adds HTML string to an element with a given ID.
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -255,24 +255,4 @@
|
||||||
</div> <!-- end content -->
|
</div> <!-- end content -->
|
||||||
|
|
||||||
<script src="app.js"></script></body>
|
<script src="app.js"></script></body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<!-- All in one -->
|
|
||||||
<!-- <script src="js/app.js"></script> -->
|
|
||||||
|
|
||||||
<!-- AES JS -->
|
|
||||||
<!-- <script src="js/aes-js.js"></script> -->
|
|
||||||
|
|
||||||
<!-- Instantly load test file (Debugging script) -->
|
|
||||||
<!-- <script src="js/LoadJson.js"></script> -->
|
|
||||||
|
|
||||||
<!-- Load Save File for opening files, decoding, decryption -->
|
|
||||||
<!-- <script src="js/LoadSaveFile.js"></script> -->
|
|
||||||
|
|
||||||
<!-- Main script for analyzing the decoded save file -->
|
|
||||||
<!-- <script src="js/HKCheckCompletion.js"></script> -->
|
|
||||||
|
|
||||||
<!-- Populate HTML at load (before img and css) -->
|
|
||||||
<!-- <script>
|
|
||||||
document.addEventListener("DOMContentLoaded", InitialHTMLPopulate(DIV_ID));
|
|
||||||
</script> -->
|
|
||||||
|
|
@ -193,6 +193,8 @@ function GenerateInnerHTML(sections) {
|
||||||
default:
|
default:
|
||||||
for (let entry in entries) {
|
for (let entry in entries) {
|
||||||
textFill += SingleEntryFill(section, entries[entry]);
|
textFill += SingleEntryFill(section, entries[entry]);
|
||||||
|
|
||||||
|
if (entry === "saveVersion") textFill += FLEUR_DIVIDE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -395,7 +397,7 @@ function SingleEntryFill(section, entry) {
|
||||||
`${textSuffix}${spoilerAfter}`,
|
`${textSuffix}${spoilerAfter}`,
|
||||||
spoiler[1],
|
spoiler[1],
|
||||||
span[1],
|
span[1],
|
||||||
"</div>"
|
"</div>\n"
|
||||||
].join("");
|
].join("");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue