mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Tables show "fetching" message
This commit is contained in:
parent
2f6431ee58
commit
e4bd33fba1
@ -68,6 +68,7 @@ export class Top10Downloaders extends BaseDashlet {
|
||||
let seconds = periodNameToSeconds(window.timePeriods.activePeriod);
|
||||
let spinnerDiv = document.createElement("<div>");
|
||||
spinnerDiv.innerHTML = "<i class='fas fa-spinner fa-spin'></i> Fetching Insight Data...";
|
||||
clearDashDiv(this.id, target);
|
||||
document.getElementById(this.id).appendChild(spinnerDiv);
|
||||
$.get("/local-api/ltsTop10Downloaders/" + seconds, (data) => {
|
||||
let target = document.getElementById(this.id);
|
||||
|
@ -144,6 +144,7 @@ export class Top10FlowsBytes extends BaseDashlet {
|
||||
let seconds = periodNameToSeconds(window.timePeriods.activePeriod);
|
||||
let spinnerDiv = document.createElement("<div>");
|
||||
spinnerDiv.innerHTML = "<i class='fas fa-spinner fa-spin'></i> Fetching Insight Data...";
|
||||
clearDashDiv(this.id, target);
|
||||
document.getElementById(this.id).appendChild(spinnerDiv);
|
||||
$.get("/local-api/ltsTopFlows/" + seconds, (data) => {
|
||||
let target = document.getElementById(this.id);
|
||||
|
@ -68,6 +68,7 @@ export class Worst10Downloaders extends BaseDashlet {
|
||||
let seconds = periodNameToSeconds(window.timePeriods.activePeriod);
|
||||
let spinnerDiv = document.createElement("<div>");
|
||||
spinnerDiv.innerHTML = "<i class='fas fa-spinner fa-spin'></i> Fetching Insight Data...";
|
||||
clearDashDiv(this.id, target);
|
||||
document.getElementById(this.id).appendChild(spinnerDiv);
|
||||
$.get("/local-api/ltsWorst10Rtt/" + seconds, (data) => {
|
||||
let target = document.getElementById(this.id);
|
||||
|
@ -68,6 +68,7 @@ export class Worst10Retransmits extends BaseDashlet {
|
||||
let seconds = periodNameToSeconds(window.timePeriods.activePeriod);
|
||||
let spinnerDiv = document.createElement("<div>");
|
||||
spinnerDiv.innerHTML = "<i class='fas fa-spinner fa-spin'></i> Fetching Insight Data...";
|
||||
clearDashDiv(this.id, target);
|
||||
document.getElementById(this.id).appendChild(spinnerDiv);
|
||||
$.get("/local-api/ltsWorst10Rxmit/" + seconds, (data) => {
|
||||
let target = document.getElementById(this.id);
|
||||
|
Loading…
Reference in New Issue
Block a user