temporary add clock icon
This commit is contained in:
parent
8be74a5016
commit
576a6f47c0
4 changed files with 7 additions and 4 deletions
|
|
@ -47,6 +47,8 @@ var SYMBOL_FALSE = "<i class='icon-cancel'></i>"; // "❌ "
|
|||
var SYMBOL_TRUE = "<i class='icon-ok-squared'></i>"; // "✅ "
|
||||
// const SYMBOL_INFO = "<i class='icon-info-circled'></i>"; // "ℹ "
|
||||
|
||||
var SYMBOL_CLOCK = "<i class='icon-clock'></i>"; // "🕑 "
|
||||
|
||||
var SYMBOL_EMPTY = "<span class='padding-left'></span>";
|
||||
var FLEUR_DIVIDE = "<div class='horizontal-line'></div>";
|
||||
var WIKI_LINK = "https://hollowknight.fandom.com/wiki/"; // ---------------- Variables ----------------- //
|
||||
|
|
@ -254,7 +256,7 @@ function CheckPlayTime(divId, playTime) {
|
|||
var textFill = "Time Played:" + pSpan + "<b>" + hours + " h " + minutes + " min " + sec + " sec</b>";
|
||||
divId.playTime = hours + " h " + minutes + " min " + sec + " sec"; // document.getElementById(divId.id).innerHTML += divStart + icon + textFill + divEnd;
|
||||
|
||||
document.getElementById(divId.id).innerHTML += divStart + divId.iconPlayTime + textFill + divEnd;
|
||||
document.getElementById(divId.id).innerHTML += divStart + SYMBOL_CLOCK + textFill + divEnd;
|
||||
}
|
||||
/**
|
||||
* Searches for completionPercentage in playerData and fills HTML with the value of the save file
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -232,7 +232,7 @@
|
|||
</h6>
|
||||
|
||||
<p class="smalltext">
|
||||
<b class="pp-gold">Klaudia</b> (Lvl 18) - <b class="pp-silver">Rohit</b> (Lvl 7) - <b class="pp-silver">Dominic</b> (Lvl 6) - <b class="pp-silver">David</b> (Lvl 5) - <b class="pp-silver">Peter</b> (Lvl 5)
|
||||
<b class="pp-gold">Klaudia</b> (Lvl 26) - <b class="pp-silver">Rohit</b> (Lvl 7) - <b class="pp-silver">Dominic</b> (Lvl 6) - <b class="pp-silver">David</b> (Lvl 5) - <b class="pp-silver">Peter</b> (Lvl 5)
|
||||
</p>
|
||||
|
||||
<p class="smalltext">
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ import GEO_SHADE_IMAGE from "../img/geo-shade.png";
|
|||
const SYMBOL_FALSE = "<i class='icon-cancel'></i>"; // "❌ "
|
||||
const SYMBOL_TRUE = "<i class='icon-ok-squared'></i>"; // "✅ "
|
||||
// const SYMBOL_INFO = "<i class='icon-info-circled'></i>"; // "ℹ "
|
||||
const SYMBOL_CLOCK = "<i class='icon-clock'></i>"; // "🕑 "
|
||||
const SYMBOL_EMPTY = "<span class='padding-left'></span>";
|
||||
const FLEUR_DIVIDE = "<div class='horizontal-line'></div>";
|
||||
const WIKI_LINK = "https://hollowknight.fandom.com/wiki/";
|
||||
|
|
@ -335,7 +336,7 @@ function CheckPlayTime(divId, playTime) {
|
|||
divId.playTime = hours + " h " + minutes + " min " + sec + " sec";
|
||||
|
||||
// document.getElementById(divId.id).innerHTML += divStart + icon + textFill + divEnd;
|
||||
document.getElementById(divId.id).innerHTML += divStart + divId.iconPlayTime + textFill + divEnd;
|
||||
document.getElementById(divId.id).innerHTML += divStart + SYMBOL_CLOCK + textFill + divEnd;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue