Loading spinner

This commit is contained in:
Jokob-sk
2023-09-16 09:57:38 +10:00
parent 6cb4439d59
commit 40c6c65ee5
10 changed files with 82 additions and 57 deletions

View File

@@ -83,9 +83,9 @@ if ($ENABLED_DARKMODE === True) {
<script>
function updateState(){
$.get('api/pialert_app_state.json?nocache=' + Date.now(), function(appState) {
$.get('api/app_state.json?nocache=' + Date.now(), function(appState) {
console.log(appState)
// console.log(appState)
document.getElementById('state').innerHTML = appState["currentState"].replaceAll('"', '');

View File

@@ -61,6 +61,7 @@
"Device_Table_nav_prev":"Zurück",
"Presence_Title":"Anwesenheit pro Gerät",
"Presence_Loading":"Laden...",
"Loading":"Laden...",
"Presence_Shortcut_AllDevices":"Alle Geräte",
"Presence_Shortcut_Connected":"Verbunden",
"Presence_Shortcut_Favorites":"Favoriten",

View File

@@ -84,6 +84,7 @@
"Device_Table_nav_prev" : "Previous",
"Presence_Title" : "Presence by Device",
"Presence_Loading" : "Loading...",
"Loading" : "Loading...",
"Presence_Shortcut_AllDevices" : "All Devices",
"Presence_Shortcut_Connected" : "Connected",
"Presence_Shortcut_Favorites" : "Favorites",

View File

@@ -83,6 +83,7 @@
"Device_Table_nav_prev" : "Anterior",
"Presence_Title" : "Historial por dispositivo",
"Presence_Loading" : "Cargando...",
"Loading" : "Cargando...",
"Presence_Shortcut_AllDevices" : "Todos",
"Presence_Shortcut_Connected" : "Conectado(s)",
"Presence_Shortcut_Favorites" : "Favorito(s)",