404 error in the _front.log + work in progress icon #556 🚑

This commit is contained in:
Jokob-sk
2024-02-09 20:50:55 +11:00
parent 3f75ead025
commit 169617bdd6
8 changed files with 35 additions and 14 deletions

View File

@@ -664,6 +664,23 @@ function getGuid() {
);
}
// -----------------------------------------------------------------------------
// UI
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Genrate work-in-progress icons
function workInProgress() {
console.log()
if($(".work-in-progress").html().trim() == "")
{
$(".work-in-progress").append(`
<a href="https://github.com/jokob-sk/Pi.Alert/issues" target="_blank">
<b class="pointer" title="${getString("Gen_Work_In_Progress")}">🦺</b>
</a>
`)
}
}
// -----------------------------------------------------------------------------
// Loading Spinner overlay
// -----------------------------------------------------------------------------
@@ -703,6 +720,7 @@ function hideSpinner()
cacheSettings()
cacheStrings()
initDeviceListAll_JSON()
workInProgress()
console.log("init pialert_common.js")