diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/circuit_capacity_dash.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/circuit_capacity_dash.js index 7d0d9913..e46029e4 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/circuit_capacity_dash.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/circuit_capacity_dash.js @@ -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")); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js index 4c444040..001b26e7 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/endpoints_by_country.js @@ -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"); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ether_protocols.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ether_protocols.js index b972d932..7fe4ecb3 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ether_protocols.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ether_protocols.js @@ -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"); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ip_protocols.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ip_protocols.js index 306f97ff..679e8a0b 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ip_protocols.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/ip_protocols.js @@ -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"); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js index 5b2dbb33..89d919ec 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_bytes.js @@ -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"); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_rate.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_rate.js index d78296c0..9affad6a 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_rate.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top10flows_rate.js @@ -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"); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js index 037a5bc0..35a97a38 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/top_tree_summary.js @@ -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'); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/tree_capacity_dash.js b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/tree_capacity_dash.js index c1a702bd..78d67351 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/dashlets/tree_capacity_dash.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/dashlets/tree_capacity_dash.js @@ -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")); diff --git a/src/rust/lqosd/src/node_manager/js_build/src/helpers/builders.js b/src/rust/lqosd/src/node_manager/js_build/src/helpers/builders.js index d5a48cdb..d7021f5c 100644 --- a/src/rust/lqosd/src/node_manager/js_build/src/helpers/builders.js +++ b/src/rust/lqosd/src/node_manager/js_build/src/helpers/builders.js @@ -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()); diff --git a/src/rust/lqosd/src/node_manager/static2/node_manager.css b/src/rust/lqosd/src/node_manager/static2/node_manager.css index 2d4a301c..d9437a40 100644 --- a/src/rust/lqosd/src/node_manager/static2/node_manager.css +++ b/src/rust/lqosd/src/node_manager/static2/node_manager.css @@ -124,4 +124,7 @@ body.dark-mode { .dropdown-menu-sized { max-height: 200px; overflow-y: auto; +} +.dash-table { + width: 100%; } \ No newline at end of file