mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Network tree summary is scaled appropriately.
This commit is contained in:
@@ -26,9 +26,10 @@ export class TopTreeSummary extends BaseDashlet {
|
||||
|
||||
let t = document.createElement("table");
|
||||
t.id = this.id + "_table";
|
||||
t.classList.add("table", "table-sm", "mytable");
|
||||
t.classList.add("table", "table-sm", "mytable", "small");
|
||||
|
||||
let th = document.createElement("thead");
|
||||
th.classList.add('small');
|
||||
th.appendChild(theading("Branch"));
|
||||
th.appendChild(theading("DL ⬇️"));
|
||||
th.appendChild(theading("UL ⬆️"));
|
||||
@@ -54,6 +55,7 @@ export class TopTreeSummary extends BaseDashlet {
|
||||
|
||||
msg.data.forEach((r) => {
|
||||
let row = document.createElement("tr");
|
||||
row.classList.add("small");
|
||||
let name = document.createElement("td");
|
||||
name.innerText = r[1].name;
|
||||
name.classList.add("tiny");
|
||||
|
||||
@@ -10,7 +10,7 @@ pub async fn tree_summary(channels: Arc<PubSub>) {
|
||||
return;
|
||||
}
|
||||
|
||||
if let BusResponse::NetworkMap(nodes) = shaped_devices_tracker::get_top_n_root_queues(7) {
|
||||
if let BusResponse::NetworkMap(nodes) = shaped_devices_tracker::get_top_n_root_queues(10) {
|
||||
|
||||
let message = json!(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user