fix: add loading indicators to all pages

- 'Loading…' shown in charts/fields/output areas while waiting for server response
- Console + chat: clears loading state on first output line
- Player list: table body shows loading row until refresh completes
- Player info / Server info: fields show loading until data arrives

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-06-13 18:00:31 +02:00
co-authored by Copilot
parent 19c5247c90
commit 1bfca0d1e0
5 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ function PlayerInfoPage(params, container) {
'<h2 class="text-center">Info</h2>' +
'<div id="pi-notfound" class="alert alert-warning" style="display:none">This Player is currently not connected to this server!</div>' +
'</div>' +
'<div id="pi-fields" class="col-sm-12"></div>' +
'<div id="pi-fields" class="col-sm-12"><span class="text-white-50">Loading…</span></div>' +
'</div>' +
'</div>';
container.innerHTML = html;