From fd9ba1cda8055eb3e12a50ea6b186dc379ad7a51 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 22 Apr 2024 16:06:20 +0200 Subject: luci-mod-status: add missing cbi-map-descr for realtime graph bandwith Redmine-patch-id: 8463 Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/status/bandwidth.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js index 0fbe49c12c..4bdc9e2675 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js @@ -309,7 +309,11 @@ return view.extend({ this.pollData(); - return v; + return E([], [ + E('h2', _('Bandwith')), + E('div', {'class': 'cbi-map-descr'}, _('This page displays the bandwidth used for all available physical interfaces.')), + v + ]); }, handleSaveApply: null, -- cgit v1.2.3 From a5d823f46b0948027415460969ba95f4d39c83e0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 22 Apr 2024 16:06:45 +0200 Subject: luci-mod-status: add missing cbi-map-descr for realtime graph connections Redmine-patch-id: 8464 Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/status/connections.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js index 168bfefdf8..da3c102fc8 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js @@ -319,6 +319,8 @@ return view.extend({ var svg = data[0]; var v = E([], [ + E('h2', _('Connections')), + E('div', {'class': 'cbi-map-descr'}, _('This page displays the active connections via this device.')), svg, E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), E('br'), -- cgit v1.2.3 From 3432ee256671d689c1b71f821374a480bf609129 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 22 Apr 2024 16:07:00 +0200 Subject: luci-mod-status: add missing cbi-map-descr for realtime graph load Redmine-patch-id: 8465 Signed-off-by: Florian Eckert --- .../luci-mod-status/htdocs/luci-static/resources/view/status/load.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js index 633e43e6c3..ec80d86b64 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js @@ -224,6 +224,8 @@ return view.extend({ var svg = data[0]; var v = E([], [ + E('h2', _('System load')), + E('div', {'class': 'cbi-map-descr'}, _('Load Average is a metric that is used by Linux to keep track of system resources.')), svg, E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), E('br'), -- cgit v1.2.3 From 60363bfd10af5a4c9ae79bd8cd56e3f364a12d4a Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Mon, 22 Apr 2024 16:07:23 +0200 Subject: luci-mod-status: add missing cbi-map-descr for realtime graph wireless Redmine-patch-id: 8466 Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/status/wireless.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js index 8848143c98..5942eaf06b 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js @@ -336,7 +336,11 @@ return view.extend({ this.pollData(); - return v; + return E([], [ + E('h2', _('Wireless')), + E('div', {'class': 'cbi-map-descr'}, _('This page displays the wireless metrics, for each available radio interfaces.')), + v + ]); }, handleSaveApply: null, -- cgit v1.2.3 From d14fbdb3cf394b121a6ec695e0b4008e2d241110 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 23 Apr 2024 13:18:46 +0200 Subject: luci-mod-status: load: add missing cbi-map and cbi-section css class Signed-off-by: Florian Eckert --- .../luci-static/resources/view/status/load.js | 72 +++++++++++----------- 1 file changed, 37 insertions(+), 35 deletions(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js index ec80d86b64..bc6525969c 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js @@ -223,43 +223,45 @@ return view.extend({ render: function(data) { var svg = data[0]; - var v = E([], [ + var v = E('div', { 'class': 'cbi-map', 'id': 'map' }, [ E('h2', _('System load')), E('div', {'class': 'cbi-map-descr'}, _('Load Average is a metric that is used by Linux to keep track of system resources.')), - svg, - E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), - E('br'), - - E('table', { 'class': 'table', 'style': 'width:100%;table-layout:fixed' }, [ - E('tr', { 'class': 'tr' }, [ - E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid #f00' }, [ _('1 Minute Load:') ])), - E('td', { 'class': 'td', 'id': 'lb_load01_cur' }, [ '0.00' ]), - - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), - E('td', { 'class': 'td', 'id': 'lb_load01_avg' }, [ '0.00' ]), - - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), - E('td', { 'class': 'td', 'id': 'lb_load01_peak' }, [ '0.00' ]) - ]), - E('tr', { 'class': 'tr' }, [ - E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid #f60' }, [ _('5 Minute Load:') ])), - E('td', { 'class': 'td', 'id': 'lb_load05_cur' }, [ '0.00' ]), - - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), - E('td', { 'class': 'td', 'id': 'lb_load05_avg' }, [ '0.00' ]), - - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), - E('td', { 'class': 'td', 'id': 'lb_load05_peak' }, [ '0.00' ]) - ]), - E('tr', { 'class': 'tr' }, [ - E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid #fa0' }, [ _('15 Minute Load:') ])), - E('td', { 'class': 'td', 'id': 'lb_load15_cur' }, [ '0.00' ]), - - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), - E('td', { 'class': 'td', 'id': 'lb_load15_avg' }, [ '0.00' ]), - - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), - E('td', { 'class': 'td', 'id': 'lb_load15_peak' }, [ '0.00' ]) + E('div', { 'class': 'cbi-section' }, [ + svg, + E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), + E('br'), + + E('table', { 'class': 'table', 'style': 'width:100%;table-layout:fixed' }, [ + E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid #f00' }, [ _('1 Minute Load:') ])), + E('td', { 'class': 'td', 'id': 'lb_load01_cur' }, [ '0.00' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), + E('td', { 'class': 'td', 'id': 'lb_load01_avg' }, [ '0.00' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), + E('td', { 'class': 'td', 'id': 'lb_load01_peak' }, [ '0.00' ]) + ]), + E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid #f60' }, [ _('5 Minute Load:') ])), + E('td', { 'class': 'td', 'id': 'lb_load05_cur' }, [ '0.00' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), + E('td', { 'class': 'td', 'id': 'lb_load05_avg' }, [ '0.00' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), + E('td', { 'class': 'td', 'id': 'lb_load05_peak' }, [ '0.00' ]) + ]), + E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid #fa0' }, [ _('15 Minute Load:') ])), + E('td', { 'class': 'td', 'id': 'lb_load15_cur' }, [ '0.00' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), + E('td', { 'class': 'td', 'id': 'lb_load15_avg' }, [ '0.00' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), + E('td', { 'class': 'td', 'id': 'lb_load15_peak' }, [ '0.00' ]) + ]) ]) ]) ]); -- cgit v1.2.3 From f4868c3426965def268f008d71d10a86855ff1bc Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 23 Apr 2024 13:40:56 +0200 Subject: luci-mod-status: bandwith: add missing css cbi-* class elements Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/status/bandwidth.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js index 4bdc9e2675..7d13679d81 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js @@ -247,7 +247,7 @@ return view.extend({ var svg = data[0], devs = data[1]; - var v = E('div', {}, E('div')); + var v = E('div', { 'class': 'cbi-map', 'id': 'map' }, E('div')); for (var i = 0; i < devs.length; i++) { var ifname = devs[i].getName(); @@ -257,7 +257,7 @@ return view.extend({ var csvg = svg.cloneNode(true); - v.firstElementChild.appendChild(E('div', { 'data-tab': ifname, 'data-tab-title': ifname }, [ + v.firstElementChild.appendChild(E('div', { 'class': 'cbi-section', 'data-tab': ifname, 'data-tab-title': ifname }, [ csvg, E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), E('br'), @@ -283,7 +283,8 @@ return view.extend({ E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), E('td', { 'class': 'td', 'id': 'tx_bw_peak' }, rate(0, true)) ]) - ]) + ]), + E('div', {'class': 'cbi-section-create'}) ])); this.updateGraph(ifname, csvg, [ { line: 'rx', counter: true }, null, { line: 'tx', counter: true } ], function(svg, info) { -- cgit v1.2.3 From 8f90688104b7ac7f9df61ee700b4a80814bac64f Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 23 Apr 2024 13:43:42 +0200 Subject: luci-mod-status: wireless: add missing css cbi-* class elements Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/status/wireless.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js index 5942eaf06b..f5b3404382 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js @@ -241,7 +241,7 @@ return view.extend({ svg2 = data[1], wifidevs = data[2]; - var v = E('div', {}, E('div')); + var v = E('div', { 'class': 'cbi-map', 'id': 'map' }, E('div')); for (var i = 0; i < wifidevs.length; i++) { var ifname = wifidevs[i].getIfname(); @@ -252,7 +252,7 @@ return view.extend({ var csvg1 = svg1.cloneNode(true), csvg2 = svg2.cloneNode(true); - v.firstElementChild.appendChild(E('div', { 'data-tab': ifname, 'data-tab-title': ifname }, [ + v.firstElementChild.appendChild(E('div', { 'class': 'cbi-section', 'data-tab': ifname, 'data-tab-title': ifname }, [ csvg1, E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), E('br'), @@ -296,7 +296,8 @@ return view.extend({ E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), E('td', { 'class': 'td', 'id': 'rate_bw_peak' }, [ '0 Mbit/s' ]) ]) - ]) + ]), + E('div', {'class': 'cbi-section-create'}) ])); this.updateGraph(ifname, csvg1, [ null, { line: 'rssi', offset: 155 }, { line: 'noise', offset: 155 } ], function(svg, info) { -- cgit v1.2.3 From 332ff87ffce3bc05195863bcb51c4ba0b855b3e6 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 23 Apr 2024 13:50:52 +0200 Subject: luci-mod-status: connections: add missing cbi-* css class Signed-off-by: Florian Eckert --- .../resources/view/status/connections.js | 124 +++++++++++---------- 1 file changed, 63 insertions(+), 61 deletions(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js index da3c102fc8..36aa375d60 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js @@ -318,79 +318,81 @@ return view.extend({ render: function(data) { var svg = data[0]; - var v = E([], [ + var v = E('div', { 'class': 'cbi-map', 'id': 'map' }, [ E('h2', _('Connections')), E('div', {'class': 'cbi-map-descr'}, _('This page displays the active connections via this device.')), - svg, - E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), - E('br'), + E('div', { 'class': 'cbi-section' }, [ + svg, + E('div', { 'class': 'right' }, E('small', { 'id': 'scale' }, '-')), + E('br'), - E('table', { 'class': 'table', 'style': 'width:100%;table-layout:fixed' }, [ - E('tr', { 'class': 'tr' }, [ - E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid blue' }, [ _('UDP:') ])), - E('td', { 'class': 'td', 'id': 'lb_udp_cur' }, [ '0' ]), + E('table', { 'class': 'table', 'style': 'width:100%;table-layout:fixed' }, [ + E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid blue' }, [ _('UDP:') ])), + E('td', { 'class': 'td', 'id': 'lb_udp_cur' }, [ '0' ]), - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), - E('td', { 'class': 'td', 'id': 'lb_udp_avg' }, [ '0' ]), + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), + E('td', { 'class': 'td', 'id': 'lb_udp_avg' }, [ '0' ]), - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), - E('td', { 'class': 'td', 'id': 'lb_udp_peak' }, [ '0' ]) - ]), - E('tr', { 'class': 'tr' }, [ - E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid green' }, [ _('TCP:') ])), - E('td', { 'class': 'td', 'id': 'lb_tcp_cur' }, [ '0' ]), + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), + E('td', { 'class': 'td', 'id': 'lb_udp_peak' }, [ '0' ]) + ]), + E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid green' }, [ _('TCP:') ])), + E('td', { 'class': 'td', 'id': 'lb_tcp_cur' }, [ '0' ]), - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), - E('td', { 'class': 'td', 'id': 'lb_tcp_avg' }, [ '0' ]), + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), + E('td', { 'class': 'td', 'id': 'lb_tcp_avg' }, [ '0' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), + E('td', { 'class': 'td', 'id': 'lb_tcp_peak' }, [ '0' ]) + ]), + E('tr', { 'class': 'tr' }, [ + E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid red' }, [ _('Other:') ])), + E('td', { 'class': 'td', 'id': 'lb_otr_cur' }, [ '0' ]), - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), - E('td', { 'class': 'td', 'id': 'lb_tcp_peak' }, [ '0' ]) + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), + E('td', { 'class': 'td', 'id': 'lb_otr_avg' }, [ '0' ]), + + E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), + E('td', { 'class': 'td', 'id': 'lb_otr_peak' }, [ '0' ]) + ]) ]), - E('tr', { 'class': 'tr' }, [ - E('td', { 'class': 'td right top' }, E('strong', { 'style': 'border-bottom:2px solid red' }, [ _('Other:') ])), - E('td', { 'class': 'td', 'id': 'lb_otr_cur' }, [ '0' ]), - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Average:') ])), - E('td', { 'class': 'td', 'id': 'lb_otr_avg' }, [ '0' ]), + E('div', { 'class': 'right' }, [ + E('button', { + 'class': 'btn toggle-lookups', + 'click': function(ev) { + if (!enableLookups) { + ev.currentTarget.classList.add('spinning'); + ev.currentTarget.disabled = true; + enableLookups = true; + } + else { + ev.currentTarget.firstChild.data = _('Enable DNS lookups'); + enableLookups = false; + } - E('td', { 'class': 'td right top' }, E('strong', {}, [ _('Peak:') ])), - E('td', { 'class': 'td', 'id': 'lb_otr_peak' }, [ '0' ]) - ]) - ]), - - E('div', { 'class': 'right' }, [ - E('button', { - 'class': 'btn toggle-lookups', - 'click': function(ev) { - if (!enableLookups) { - ev.currentTarget.classList.add('spinning'); - ev.currentTarget.disabled = true; - enableLookups = true; - } - else { - ev.currentTarget.firstChild.data = _('Enable DNS lookups'); - enableLookups = false; + this.blur(); } + }, [ enableLookups ? _('Disable DNS lookups') : _('Enable DNS lookups') ]) + ]), - this.blur(); - } - }, [ enableLookups ? _('Disable DNS lookups') : _('Enable DNS lookups') ]) - ]), - - E('br'), - - E('div', { 'class': 'cbi-section-node' }, [ - E('table', { 'class': 'table', 'id': 'connections' }, [ - E('tr', { 'class': 'tr table-titles' }, [ - E('th', { 'class': 'th col-2 hide-xs' }, [ _('Network') ]), - E('th', { 'class': 'th col-2' }, [ _('Protocol') ]), - E('th', { 'class': 'th col-7' }, [ _('Source') ]), - E('th', { 'class': 'th col-7' }, [ _('Destination') ]), - E('th', { 'class': 'th col-4' }, [ _('Transfer') ]) - ]), - E('tr', { 'class': 'tr placeholder' }, [ - E('td', { 'class': 'td' }, [ - E('em', {}, [ _('Collecting data...') ]) + E('br'), + + E('div', { 'class': 'cbi-section-node' }, [ + E('table', { 'class': 'table', 'id': 'connections' }, [ + E('tr', { 'class': 'tr table-titles' }, [ + E('th', { 'class': 'th col-2 hide-xs' }, [ _('Network') ]), + E('th', { 'class': 'th col-2' }, [ _('Protocol') ]), + E('th', { 'class': 'th col-7' }, [ _('Source') ]), + E('th', { 'class': 'th col-7' }, [ _('Destination') ]), + E('th', { 'class': 'th col-4' }, [ _('Transfer') ]) + ]), + E('tr', { 'class': 'tr placeholder' }, [ + E('td', { 'class': 'td' }, [ + E('em', {}, [ _('Collecting data...') ]) + ]) ]) ]) ]) -- cgit v1.2.3 From 94fae3dae1783b7eb9455064705c506d9586d5d0 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Tue, 23 Apr 2024 13:51:39 +0200 Subject: luci-mod-status: connections: add missing cbi-button and cbi-button-apply class for lookup button Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/status/connections.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js index 36aa375d60..23ff1df53e 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js @@ -361,7 +361,7 @@ return view.extend({ E('div', { 'class': 'right' }, [ E('button', { - 'class': 'btn toggle-lookups', + 'class': 'btn cbi-button cbi-button-apply toggle-lookups', 'click': function(ev) { if (!enableLookups) { ev.currentTarget.classList.add('spinning'); -- cgit v1.2.3 From a4a7f0bc6a2ee8ff41f658e14677bce21341600d Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 24 Apr 2024 09:16:11 +0200 Subject: luci-mod-status: rename realtime graph display name traffic into bandwith The corresponding file is also named bandwith. Signed-off-by: Florian Eckert --- modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/luci-mod-status') diff --git a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json index 190eef0ad3..848abb94a8 100644 --- a/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json +++ b/modules/luci-mod-status/root/usr/share/luci/menu.d/luci-mod-status.json @@ -136,7 +136,7 @@ }, "admin/status/realtime/bandwidth": { - "title": "Traffic", + "title": "Bandwith", "order": 2, "action": { "type": "view", -- cgit v1.2.3