luci-mod-status: 29_ports.js: improve speed formatting
authorJonas Jelonek <jelonek.jonas@gmail.com>
Thu, 9 Jan 2025 11:52:27 +0000 (12:52 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 9 Jan 2025 18:03:42 +0000 (19:03 +0100)
commit20bf9a4b179cda8eb99559faa76093c958f37bd9
tree160cdab43638f5c0b4cedf3dab3dac07b415160a
parentb0f81552962ba6ed742ff6c46e59b1051d1a6cb9
luci-mod-status: 29_ports.js: improve speed formatting

Improve speed formatting to make it more flexible and support speeds
beyond 40 GbE.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/29_ports.js