diff options
author | Jani Välimaa <wally@mageia.org> | 2024-09-14 14:39:00 +0300 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2024-09-14 14:39:00 +0300 |
commit | e5397b9345bf56601f816d7b2c94462a6cdbe9b7 (patch) | |
tree | 40161fb2a0158c1b7a4c49645b132ff7cb951435 /root | |
parent | f213188b9f1efd1ea4e75ddf176a46eab6a054aa (diff) | |
download | mgamirrors-e5397b9345bf56601f816d7b2c94462a6cdbe9b7.tar mgamirrors-e5397b9345bf56601f816d7b2c94462a6cdbe9b7.tar.gz mgamirrors-e5397b9345bf56601f816d7b2c94462a6cdbe9b7.tar.bz2 mgamirrors-e5397b9345bf56601f816d7b2c94462a6cdbe9b7.tar.xz mgamirrors-e5397b9345bf56601f816d7b2c94462a6cdbe9b7.zip |
Add more bandwidths to getStrokeWeight()
Diffstat (limited to 'root')
-rw-r--r-- | root/html/pages/report/index.tt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/root/html/pages/report/index.tt b/root/html/pages/report/index.tt index b52a1a8..b6c4364 100644 --- a/root/html/pages/report/index.tt +++ b/root/html/pages/report/index.tt @@ -36,8 +36,10 @@ div.infow p { margin: 0; } * @return integer */ function getStrokeWeight(bw) { - var bws = { "1Mbits": 1, "10Mbits": 2, "100Mbits": 3, - "1Gbits": 4, "2Gbits": 5 + var bws = { "1Mbits": 1, "10Mbits": 1, "100Mbits": 1, + "1Gbits": 2, "2Gbits": 2, + "10Gbits": 3, "20Gbits": 3, + "100Gbits": 4, "200Gbits": 4 }; return (bw in bws) ? bws[bw] : 1; } |