UI tweak, remove redundant info
This commit is contained in:
parent
9ce1666977
commit
42d0657bfe
2 changed files with 8 additions and 7 deletions
|
@ -723,7 +723,8 @@ function calculateBuildStats() {
|
||||||
//skpRow.classList.add("left");
|
//skpRow.classList.add("left");
|
||||||
let td = document.createElement("p");
|
let td = document.createElement("p");
|
||||||
//td.classList.add("left");
|
//td.classList.add("left");
|
||||||
let skpSummary = document.createElement("b");
|
|
||||||
|
/* let skpSummary = document.createElement("b");
|
||||||
skpSummary.textContent = "Assigned " + player_build.assigned_skillpoints + " skillpoints. Total: (";
|
skpSummary.textContent = "Assigned " + player_build.assigned_skillpoints + " skillpoints. Total: (";
|
||||||
//skpSummary.classList.add("itemp");
|
//skpSummary.classList.add("itemp");
|
||||||
td.appendChild(skpSummary);
|
td.appendChild(skpSummary);
|
||||||
|
@ -742,12 +743,12 @@ function calculateBuildStats() {
|
||||||
let skpEnd = document.createElement("b");
|
let skpEnd = document.createElement("b");
|
||||||
skpEnd.textContent = ")";
|
skpEnd.textContent = ")";
|
||||||
td.appendChild(skpEnd);
|
td.appendChild(skpEnd);
|
||||||
skpRow.append(td);
|
skpRow.append(td); */
|
||||||
|
|
||||||
let remainingSkp = document.createElement("p");
|
let remainingSkp = document.createElement("p");
|
||||||
remainingSkp.classList.add("center");
|
remainingSkp.classList.add("center");
|
||||||
let remainingSkpTitle = document.createElement("b");
|
let remainingSkpTitle = document.createElement("b");
|
||||||
remainingSkpTitle.textContent = "Remaining skillpoints: ";
|
remainingSkpTitle.textContent = "Assigned " + player_build.assigned_skillpoints + " skillpoints. Remaining skillpoints: ";
|
||||||
let remainingSkpContent = document.createElement("b");
|
let remainingSkpContent = document.createElement("b");
|
||||||
//remainingSkpContent.textContent = "" + (levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints < 0 ? "< 0" : levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints);
|
//remainingSkpContent.textContent = "" + (levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints < 0 ? "< 0" : levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints);
|
||||||
remainingSkpContent.textContent = "" + (levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints);
|
remainingSkpContent.textContent = "" + (levelToSkillPoints(player_build.level) - player_build.assigned_skillpoints);
|
||||||
|
|
|
@ -172,7 +172,7 @@
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<br><br>
|
<br>
|
||||||
</div>
|
</div>
|
||||||
<div class="skillpoints" style="grid-column:1/span 3;grid-row:3;">
|
<div class="skillpoints" style="grid-column:1/span 3;grid-row:3;">
|
||||||
<div class="center" style="grid-column:1;grid-row:1">
|
<div class="center" style="grid-column:1;grid-row:1">
|
||||||
|
@ -653,11 +653,11 @@
|
||||||
<br>
|
<br>
|
||||||
<div class="externalBuffs hide-container-block" id="buff-box" style="display: none;">
|
<div class="externalBuffs hide-container-block" id="buff-box" style="display: none;">
|
||||||
<table class="externalBuffs" style="padding-bottom:20px">
|
<table class="externalBuffs" style="padding-bottom:20px">
|
||||||
<!--tr>
|
<tr>
|
||||||
<p class = "buffs-title itemp title">
|
<p class = "buffs-title itemp smalltitle">
|
||||||
Spell Boosts & Powder Specials:
|
Spell Boosts & Powder Specials:
|
||||||
</p>
|
</p>
|
||||||
</tr-->
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<button class = "button-narrow" id = "vanish-boost" onclick = "updateBoosts('vanish-boost', true)">
|
<button class = "button-narrow" id = "vanish-boost" onclick = "updateBoosts('vanish-boost', true)">
|
||||||
|
|
Loading…
Reference in a new issue