mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 08:16:25 -06:00
Fixup a few unused JS imports
This commit is contained in:
parent
564c266792
commit
3c2139be6a
@ -41,7 +41,7 @@ export class CircuitCapacityDash extends BaseDashlet {
|
||||
});
|
||||
|
||||
let table = document.createElement("table");
|
||||
table.classList.add("table", "table-striped", "small");
|
||||
table.classList.add("dash-table", "table-sm", "small");
|
||||
let thead = document.createElement("thead");
|
||||
thead.classList.add("small");
|
||||
thead.appendChild(theading("Circuit"));
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {BaseDashlet} from "./base_dashlet";
|
||||
import {clearDashDiv, theading} from "../helpers/builders";
|
||||
import {scaleNumber, scaleNanos, lerpGreenToRedViaOrange, rttNanosAsSpan} from "../helpers/scaling";
|
||||
import {scaleNumber, rttNanosAsSpan} from "../helpers/scaling";
|
||||
|
||||
export class Top10EndpointsByCountry extends BaseDashlet {
|
||||
constructor(slot) {
|
||||
@ -35,7 +35,7 @@ export class Top10EndpointsByCountry extends BaseDashlet {
|
||||
let target = document.getElementById(this.id);
|
||||
|
||||
let t = document.createElement("table");
|
||||
t.classList.add("table", "table-sm", "small");
|
||||
t.classList.add("dash-table", "table-sm", "small");
|
||||
|
||||
let th = document.createElement("thead");
|
||||
th.classList.add("small");
|
||||
|
@ -35,7 +35,7 @@ export class EtherProtocols extends BaseDashlet {
|
||||
let target = document.getElementById(this.id);
|
||||
|
||||
let t = document.createElement("table");
|
||||
t.classList.add("table", "table-sm", "small");
|
||||
t.classList.add("dash-table", "table-sm", "small");
|
||||
|
||||
let th = document.createElement("thead");
|
||||
th.classList.add("small");
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {BaseDashlet} from "./base_dashlet";
|
||||
import {clearDashDiv, simpleRow, theading} from "../helpers/builders";
|
||||
import {scaleNumber, scaleNanos} from "../helpers/scaling";
|
||||
import {scaleNumber} from "../helpers/scaling";
|
||||
|
||||
export class IpProtocols extends BaseDashlet {
|
||||
constructor(slot) {
|
||||
@ -35,7 +35,7 @@ export class IpProtocols extends BaseDashlet {
|
||||
let target = document.getElementById(this.id);
|
||||
|
||||
let t = document.createElement("table");
|
||||
t.classList.add("table", "table-sm", "small");
|
||||
t.classList.add("dash-table", "table-sm", "small");
|
||||
|
||||
let th = document.createElement("thead");
|
||||
th.classList.add("small");
|
||||
|
@ -37,7 +37,7 @@ export class Top10FlowsBytes extends BaseDashlet {
|
||||
let target = document.getElementById(this.id);
|
||||
|
||||
let t = document.createElement("table");
|
||||
t.classList.add("table", "table-sm", "small");
|
||||
t.classList.add("dash-table", "table-sm", "small");
|
||||
|
||||
let th = document.createElement("thead");
|
||||
th.classList.add("small");
|
||||
|
@ -37,7 +37,7 @@ export class Top10FlowsRate extends BaseDashlet {
|
||||
let target = document.getElementById(this.id);
|
||||
|
||||
let t = document.createElement("table");
|
||||
t.classList.add("table", "table-sm", "small");
|
||||
t.classList.add("dash-table", "table-sm", "small");
|
||||
|
||||
let th = document.createElement("thead");
|
||||
th.classList.add("small");
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {BaseDashlet} from "./base_dashlet";
|
||||
import {clearDashDiv, clearDiv, simpleRowHtml, theading, tooltipsNextFrame} from "../helpers/builders";
|
||||
import {clearDiv, simpleRowHtml, theading} from "../helpers/builders";
|
||||
import {formatThroughput, formatRetransmit, formatCakeStat} from "../helpers/scaling";
|
||||
|
||||
export class TopTreeSummary extends BaseDashlet {
|
||||
@ -26,7 +26,7 @@ export class TopTreeSummary extends BaseDashlet {
|
||||
|
||||
let t = document.createElement("table");
|
||||
t.id = this.id + "_table";
|
||||
t.classList.add("table", "table-sm", "mytable", "small");
|
||||
t.classList.add("dash-table", "table-sm", "mytable", "small");
|
||||
|
||||
let th = document.createElement("thead");
|
||||
th.classList.add('small');
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {BaseDashlet} from "./base_dashlet";
|
||||
import {clearDashDiv, simpleRow, simpleRowHtml, theading} from "../helpers/builders";
|
||||
import {clearDashDiv, simpleRowHtml, theading} from "../helpers/builders";
|
||||
import {formatRtt, formatPercent} from "../helpers/scaling";
|
||||
|
||||
export class TreeCapacityDash extends BaseDashlet {
|
||||
@ -36,7 +36,7 @@ export class TreeCapacityDash extends BaseDashlet {
|
||||
let target = document.getElementById(this.id);
|
||||
|
||||
let table = document.createElement("table");
|
||||
table.classList.add("table", "table-striped", "small");
|
||||
table.classList.add("dash-table", "table-sm", "small");
|
||||
let thead = document.createElement("thead");
|
||||
thead.classList.add("small");
|
||||
thead.appendChild(theading("Node"));
|
||||
|
@ -164,7 +164,7 @@ export function topNTableRow(r) {
|
||||
|
||||
export function TopNTableFromMsgData(msg) {
|
||||
let t = document.createElement("table");
|
||||
t.classList.add("table", "table-striped", "table-sm");
|
||||
t.classList.add("table-sm", "dash-table");
|
||||
|
||||
t.appendChild(topNTableHeader());
|
||||
|
||||
|
@ -125,3 +125,6 @@ body.dark-mode {
|
||||
max-height: 200px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.dash-table {
|
||||
width: 100%;
|
||||
}
|
Loading…
Reference in New Issue
Block a user