collectibles tab large section
This commit is contained in:
parent
64daf2f576
commit
3b840c3294
3 changed files with 46 additions and 13 deletions
31
build/app.js
31
build/app.js
|
|
@ -8661,26 +8661,43 @@ function GenerateInnerHTML(db) {
|
||||||
|
|
||||||
for (var section in sections) {
|
for (var section in sections) {
|
||||||
textFill = "";
|
textFill = "";
|
||||||
/* ############################# Tab Switch buttons and <div>s ################################################################### */
|
/* ############################# Tab Switch buttons and Large Section <div>s for switching ############################## */
|
||||||
|
|
||||||
|
/* Important: Ending Tab </div>s are at "End the Tab divs" */
|
||||||
|
|
||||||
switch (section) {
|
switch (section) {
|
||||||
|
/* Main % */
|
||||||
case "bosses":
|
case "bosses":
|
||||||
textFill += ["<div class=\"tab-switch-buttons\">", "<button id=\"button-switch-main\" name=\"main\" class=\"button tab-switch\" type=\"button\">Main %</button>", "<button id=\"button-switch-essential\" name=\"essential\" class=\"button tab-switch\" type=\"button\">Essentials %</button>", "<button id=\"button-switch-journal\" name=\"journal\" class=\"button tab-switch\" type=\"button\">Journal</button>", "<button id=\"button-switch-collectibles\" name=\"collectibles\" class=\"button tab-switch\" type=\"button\">Collectibles</button>", "<button id=\"button-switch-secrets\" name=\"secrets\" class=\"button tab-switch\" type=\"button\">Secrets</button>", "<button id=\"button-switch-godhome\" name=\"godhome\" class=\"button tab-switch\" type=\"button\">Godmaster</button>", "<button id=\"button-switch-statistics\" name=\"statistics\" class=\"button tab-switch\" type=\"button\">Statistics</button>", "</div>"].join("\n");
|
textFill += ["<div class=\"tab-switch-buttons\">", "<button id=\"button-switch-main\" name=\"main\" class=\"button tab-switch\" type=\"button\">Main %</button>", "<button id=\"button-switch-essential\" name=\"essential\" class=\"button tab-switch\" type=\"button\">Essentials %</button>", "<button id=\"button-switch-journal\" name=\"journal\" class=\"button tab-switch\" type=\"button\">Journal</button>", "<button id=\"button-switch-collectibles\" name=\"collectibles\" class=\"button tab-switch\" type=\"button\">Collectibles</button>", "<button id=\"button-switch-secrets\" name=\"secrets\" class=\"button tab-switch\" type=\"button\">Secrets</button>", "<button id=\"button-switch-godhome\" name=\"godhome\" class=\"button tab-switch\" type=\"button\">Godmaster</button>", "<button id=\"button-switch-statistics\" name=\"statistics\" class=\"button tab-switch\" type=\"button\">Statistics</button>", "</div>"].join("\n");
|
||||||
textFill += "<div id=\"tab-main\" class=\"large-section\">";
|
textFill += "<div id=\"tab-main\" class=\"large-section\">";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Essentials % */
|
||||||
|
|
||||||
case "essential":
|
case "essential":
|
||||||
textFill += "<div id=\"tab-essential\" class=\"large-section\">";
|
textFill += "<div id=\"tab-essential\" class=\"large-section\">";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Journal */
|
||||||
|
|
||||||
case "huntersJournal":
|
case "huntersJournal":
|
||||||
textFill += "<div id=\"tab-journal\" class=\"large-section\">";
|
textFill += "<div id=\"tab-journal\" class=\"large-section\">";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Collectibles */
|
||||||
|
|
||||||
|
case "charmNotches":
|
||||||
|
textFill += "<div id=\"tab-collectibles\" class=\"large-section\">";
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* Statistics */
|
||||||
|
|
||||||
case "statistics":
|
case "statistics":
|
||||||
textFill += "<div id=\"tab-statistics\" class=\"large-section\">";
|
textFill += "<div id=\"tab-statistics\" class=\"large-section\">";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Godmaster */
|
||||||
|
|
||||||
case "godhomeStatistics":
|
case "godhomeStatistics":
|
||||||
textFill += "<div id=\"tab-godhome\" class=\"large-section\">";
|
textFill += "<div id=\"tab-godhome\" class=\"large-section\">";
|
||||||
break;
|
break;
|
||||||
|
|
@ -9030,16 +9047,18 @@ function GenerateInnerHTML(db) {
|
||||||
|
|
||||||
switch (section) {
|
switch (section) {
|
||||||
/* ending the tabs */
|
/* ending the tabs */
|
||||||
case "godmaster": // main
|
case "godmaster": // Main
|
||||||
|
|
||||||
case "achievements": // essentials
|
case "achievements": // Essentials
|
||||||
|
|
||||||
case "huntersJournalOptional": // journal
|
case "huntersJournalOptional": // Journal
|
||||||
|
|
||||||
case "statistics": // stats
|
case "charmNotches": // Collectibles
|
||||||
|
|
||||||
|
case "statistics": // Stats
|
||||||
|
|
||||||
case "hallOfGods":
|
case "hallOfGods":
|
||||||
// godmaster
|
// Godmaster
|
||||||
finalHTMLFill += "</div>";
|
finalHTMLFill += "</div>";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -232,10 +232,12 @@ function GenerateInnerHTML(db) {
|
||||||
|
|
||||||
textFill = "";
|
textFill = "";
|
||||||
|
|
||||||
/* ############################# Tab Switch buttons and <div>s ################################################################### */
|
/* ############################# Tab Switch buttons and Large Section <div>s for switching ############################## */
|
||||||
|
/* Important: Ending Tab </div>s are at "End the Tab divs" */
|
||||||
|
|
||||||
switch (section) {
|
switch (section) {
|
||||||
|
|
||||||
|
/* Main % */
|
||||||
case "bosses":
|
case "bosses":
|
||||||
|
|
||||||
textFill += [
|
textFill += [
|
||||||
|
|
@ -254,24 +256,35 @@ function GenerateInnerHTML(db) {
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Essentials % */
|
||||||
case "essential":
|
case "essential":
|
||||||
|
|
||||||
textFill += `<div id="tab-essential" class="large-section">`;
|
textFill += `<div id="tab-essential" class="large-section">`;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Journal */
|
||||||
case "huntersJournal":
|
case "huntersJournal":
|
||||||
|
|
||||||
textFill += `<div id="tab-journal" class="large-section">`;
|
textFill += `<div id="tab-journal" class="large-section">`;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Collectibles */
|
||||||
|
case "charmNotches":
|
||||||
|
|
||||||
|
textFill += `<div id="tab-collectibles" class="large-section">`;
|
||||||
|
|
||||||
|
break;
|
||||||
|
|
||||||
|
/* Statistics */
|
||||||
case "statistics":
|
case "statistics":
|
||||||
|
|
||||||
textFill += `<div id="tab-statistics" class="large-section">`;
|
textFill += `<div id="tab-statistics" class="large-section">`;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
/* Godmaster */
|
||||||
case "godhomeStatistics":
|
case "godhomeStatistics":
|
||||||
|
|
||||||
textFill += `<div id="tab-godhome" class="large-section">`;
|
textFill += `<div id="tab-godhome" class="large-section">`;
|
||||||
|
|
@ -646,11 +659,12 @@ function GenerateInnerHTML(db) {
|
||||||
switch (section) {
|
switch (section) {
|
||||||
|
|
||||||
/* ending the tabs */
|
/* ending the tabs */
|
||||||
case "godmaster": // main
|
case "godmaster": // Main
|
||||||
case "achievements": // essentials
|
case "achievements": // Essentials
|
||||||
case "huntersJournalOptional": // journal
|
case "huntersJournalOptional": // Journal
|
||||||
case "statistics": // stats
|
case "charmNotches": // Collectibles
|
||||||
case "hallOfGods": // godmaster
|
case "statistics": // Stats
|
||||||
|
case "hallOfGods": // Godmaster
|
||||||
|
|
||||||
finalHTMLFill += `</div>`;
|
finalHTMLFill += `</div>`;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue