diff --git a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
index 50e6075fbb..f62f17fd4d 100644
--- a/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
+++ b/applications/luci-app-acl/htdocs/luci-static/resources/view/system/acl.js
@@ -200,7 +200,7 @@ return view.extend({
}
}
- var m, s, o;
+ let m, s, o;
m = new form.Map('rpcd', _('LuCI Logins'));
diff --git a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js
index 5bdc0c9980..201a7ecead 100644
--- a/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js
+++ b/applications/luci-app-acme/htdocs/luci-static/resources/view/acme.js
@@ -20,7 +20,7 @@ return view.extend({
render: function (certs) {
let wikiUrl = 'https://github.com/acmesh-official/acme.sh/wiki/';
var wikiInstructionUrl = wikiUrl + 'dnsapi';
- var m, s, o;
+ let m, s, o;
m = new form.Map("acme", _("ACME certificates"),
_("This configures ACME (Letsencrypt) automatic certificate installation. " +
diff --git a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
index b8b0537d1b..e0df36f225 100644
--- a/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
+++ b/applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js
@@ -131,7 +131,7 @@ return view.extend({
},
render: function(result) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('adblock', 'Adblock', _('Configuration of the adblock package to block ad/abuse domains by using DNS. \
For further information check the online documentation'));
diff --git a/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/config.js b/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/config.js
index c31aa7c497..7cda53d3ff 100644
--- a/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/config.js
+++ b/applications/luci-app-alist/htdocs/luci-static/resources/view/alist/config.js
@@ -60,7 +60,7 @@ return view.extend({
},
render: function(data) {
- var m, s, o;
+ let m, s, o;
var webport = uci.get(data[0], 'config', 'listen_http_port') || '5244';
m = new form.Map('alist', _('AList'),
diff --git a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_delay.js b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_delay.js
index ed0c7c1b98..74dff5c482 100644
--- a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_delay.js
+++ b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_delay.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('apinger', _('Apinger - Delay Alarms'),
('This alarm will be fired when target responses are delayed more than "Delay High"') + '
' +
diff --git a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_down.js b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_down.js
index 59f15f2ae8..2b66c45412 100644
--- a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_down.js
+++ b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_down.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('apinger', _('Apinger - Down Alarm'),
_('This alarm will be fired when target does not respond for "Time"'));
diff --git a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_loss.js b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_loss.js
index 73da7e879b..94c6cd9149 100644
--- a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_loss.js
+++ b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/alarm_loss.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('apinger', _('Apinger - Loss Alarms'),
_('This alarm will be fired when packet loss goes over "Loss High"') + '
' +
diff --git a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/interfaces.js b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/interfaces.js
index 5f53b27639..0660050dec 100644
--- a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/interfaces.js
+++ b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/interfaces.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('apinger', _('Apinger - Interfaces'),
_('Names must match the interface name found in /etc/config/network.'));
diff --git a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/targets.js b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/targets.js
index ae4d501b54..5a2cb191f7 100644
--- a/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/targets.js
+++ b/applications/luci-app-apinger/htdocs/luci-static/resources/view/apinger/targets.js
@@ -11,7 +11,7 @@ return view.extend({
},
render: function(data) {
- var m, s, o;
+ let m, s, o;
var a_ifaces, a_down, a_delay, a_loss;
a_ifaces = uci.sections('apinger', 'interface');
diff --git a/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/config.js b/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/config.js
index 11aae877ed..e95b16b101 100644
--- a/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/config.js
+++ b/applications/luci-app-aria2/htdocs/luci-static/resources/view/aria2/config.js
@@ -183,7 +183,7 @@ return view.extend({
},
render: function(aria2) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('aria2', '%s - %s'.format(_('Aria2'), _('Settings')), '
%s
%s
'.format(
_('Aria2 is a lightweight multi-protocol & multi-source, cross platform download utility.'),
diff --git a/applications/luci-app-bcp38/htdocs/luci-static/resources/view/bcp38/form.js b/applications/luci-app-bcp38/htdocs/luci-static/resources/view/bcp38/form.js
index 9e14047698..01f6244cab 100644
--- a/applications/luci-app-bcp38/htdocs/luci-static/resources/view/bcp38/form.js
+++ b/applications/luci-app-bcp38/htdocs/luci-static/resources/view/bcp38/form.js
@@ -5,7 +5,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('bcp38', _('BCP38'),
_('This function blocks packets with private address destinations ' +
diff --git a/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav-milter.js b/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav-milter.js
index cb38588b16..3c7e859cad 100644
--- a/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav-milter.js
+++ b/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav-milter.js
@@ -10,7 +10,7 @@ return view.extend({
},
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('clamav-milter', _('ClamAV Milter'), _('Configuration'));
diff --git a/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav.js b/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav.js
index c51cbf4a2f..8fbb507838 100644
--- a/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav.js
+++ b/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav.js
@@ -11,7 +11,7 @@ return view.extend({
},
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('clamav', _('ClamAV'), _('Configuration'));
diff --git a/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/freshclam.js b/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/freshclam.js
index 583b9ccf82..6af2898a00 100644
--- a/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/freshclam.js
+++ b/applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/freshclam.js
@@ -10,7 +10,7 @@ return view.extend({
},
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('freshclam', _('Freshclam'), _('Configuration'));
diff --git a/applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js b/applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js
index b945228b1e..16e7d0160d 100644
--- a/applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js
+++ b/applications/luci-app-cloudflared/htdocs/luci-static/resources/view/cloudflared/config.js
@@ -34,7 +34,7 @@ return view.extend({
render: function (data) {
let isRunning = data[0];
- var m, s, o;
+ let m, s, o;
m = new form.Map('cloudflared', _('Cloudflare Zero Trust Tunnel'),
_('Cloudflare Zero Trust Security services help you get maximum security both from outside and within the network.') + '
' +
diff --git a/applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js b/applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js
index 6d369733c6..0161653fb7 100644
--- a/applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js
+++ b/applications/luci-app-commands/htdocs/luci-static/resources/view/commands.js
@@ -5,7 +5,7 @@
return view.extend({
render: function(data) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('luci', _('Custom Commands'),
_('This page allows you to configure custom shell commands which can be easily invoked from the web interface.'));
diff --git a/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js b/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js
index b8fe2ae02d..98d746e994 100644
--- a/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js
+++ b/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js
@@ -5,7 +5,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('crowdsec', _('CrowdSec'),
_('Gain crowd-sourced protection against malicious IPs. ' +
diff --git a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
index e56c7589c4..405468cc75 100644
--- a/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
+++ b/applications/luci-app-ddns/htdocs/luci-static/resources/view/ddns/overview.js
@@ -255,7 +255,7 @@ return view.extend({
var _this = this;
- var m, s, o;
+ let m, s, o;
m = new form.Map('ddns', _('Dynamic DNS'));
diff --git a/applications/luci-app-dump1090/htdocs/luci-static/resources/view/dump1090/dump1090.js b/applications/luci-app-dump1090/htdocs/luci-static/resources/view/dump1090/dump1090.js
index 7d7ef7cd8c..59b76fcc80 100644
--- a/applications/luci-app-dump1090/htdocs/luci-static/resources/view/dump1090/dump1090.js
+++ b/applications/luci-app-dump1090/htdocs/luci-static/resources/view/dump1090/dump1090.js
@@ -3,7 +3,7 @@
return L.view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('dump1090', _('dump1090'),
_('dump1090 is a Mode S decoder specifically designed for RTLSDR devices. Here you can configure the settings.'));
diff --git a/applications/luci-app-email/htdocs/luci-static/resources/view/email/emailrelay.js b/applications/luci-app-email/htdocs/luci-static/resources/view/email/emailrelay.js
index 71e98e61ad..c7a68146e3 100644
--- a/applications/luci-app-email/htdocs/luci-static/resources/view/email/emailrelay.js
+++ b/applications/luci-app-email/htdocs/luci-static/resources/view/email/emailrelay.js
@@ -5,7 +5,7 @@
return view.extend({
render: function () {
var docsRefAttrs = 'target="_blank" rel="noreferrer" href="https://emailrelay.sourceforge.net/';
- var m, s, o;
+ let m, s, o;
m = new form.Map('emailrelay', _('Email Server Configuration'),
_('E-MailRelay Server Configuration.') + '
' +
diff --git a/applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js b/applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js
index 976df08088..73bcc44e95 100644
--- a/applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js
+++ b/applications/luci-app-example/htdocs/luci-static/resources/view/example/form.js
@@ -5,7 +5,7 @@
// Project code format is tabs, not spaces
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
/*
The first argument to form.Map() maps to the configuration file available
diff --git a/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js b/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js
index c1ab606010..eb0c965e69 100644
--- a/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js
+++ b/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-tablesection.js
@@ -45,7 +45,7 @@ return view.extend({
}
// Variables you'll usually see declared in LuCI JS apps; forM, Section, Option
- var m, s, o;
+ let m, s, o;
/*
LuCI has the concept of a JSONMap. This will map a structured object to
diff --git a/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js b/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js
index 5196f6645d..26ab5eee84 100644
--- a/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js
+++ b/applications/luci-app-example/htdocs/luci-static/resources/view/example/rpc-jsonmap-typedsection.js
@@ -45,7 +45,7 @@ return view.extend({
}
// Variables you'll usually see declared in LuCI JS apps; forM, Section, Option
- var m, s, o;
+ let m, s, o;
/*
LuCI has the concept of a JSONMap. This will map a structured object to
diff --git a/applications/luci-app-filebrowser/htdocs/luci-static/resources/view/system/filebrowser.js b/applications/luci-app-filebrowser/htdocs/luci-static/resources/view/system/filebrowser.js
index 33fe2614e8..9ad13cf240 100644
--- a/applications/luci-app-filebrowser/htdocs/luci-static/resources/view/system/filebrowser.js
+++ b/applications/luci-app-filebrowser/htdocs/luci-static/resources/view/system/filebrowser.js
@@ -11,7 +11,7 @@ var formData = {
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.JSONMap(formData, _('File Browser'), '');
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js
index f7813a85a4..cf3b8818de 100644
--- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js
+++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/ipsets.js
@@ -15,7 +15,7 @@ return view.extend({
},
render: function(data) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('firewall', _('Firewall - IP sets'),
_('firewall4 supports referencing and creating IP sets to simplify matching of large address lists without the need to create one rule per item to match. Port ranges in ipsets are unsupported by firewall4.
'));
diff --git a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
index c3207e517f..76928e9e41 100644
--- a/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
+++ b/applications/luci-app-frpc/htdocs/luci-static/resources/view/frpc.js
@@ -170,7 +170,7 @@ function renderStatus(isRunning) {
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('frpc', _('frp Client'));
diff --git a/applications/luci-app-frps/htdocs/luci-static/resources/view/frps.js b/applications/luci-app-frps/htdocs/luci-static/resources/view/frps.js
index 6b408cb303..1fce4d8f14 100644
--- a/applications/luci-app-frps/htdocs/luci-static/resources/view/frps.js
+++ b/applications/luci-app-frps/htdocs/luci-static/resources/view/frps.js
@@ -123,7 +123,7 @@ function renderStatus(isRunning) {
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('frps', _('frp Server'));
diff --git a/applications/luci-app-fwknopd/htdocs/luci-static/resources/view/fwknopd.js b/applications/luci-app-fwknopd/htdocs/luci-static/resources/view/fwknopd.js
index f95df1320f..2f099ff898 100644
--- a/applications/luci-app-fwknopd/htdocs/luci-static/resources/view/fwknopd.js
+++ b/applications/luci-app-fwknopd/htdocs/luci-static/resources/view/fwknopd.js
@@ -406,7 +406,7 @@ var ParseButton = form.Button.extend({
var config = {};
config.access = stanzas;
- var m, s, o;
+ let m, s, o;
m = new form.JSONMap(config, null, _('Custom configuration read from /etc/fwknop/access.conf.'));
m.readonly = true;
@@ -469,7 +469,7 @@ return view.extend({
render: function(results) {
var has_access_conf = results[0];
- var m, s, o;
+ let m, s, o;
m = new form.Map('fwknopd', _('Firewall Knock Operator Daemon'));
diff --git a/applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js b/applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js
index e07413bad4..247841e782 100644
--- a/applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js
+++ b/applications/luci-app-hd-idle/htdocs/luci-static/resources/view/hd_idle.js
@@ -33,7 +33,7 @@ return view.extend({
},
render: function(devs) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('hd-idle', _('HDD Idle'), _('HDD Idle is a utility program for spinning-down disks after a period of idle time.'));
s = m.section(form.GridSection, 'hd-idle', _('Settings'));
diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/globals.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/globals.js
index 67781b59af..60b895487d 100644
--- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/globals.js
+++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/globals.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('keepalived');
diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/peers.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/peers.js
index 059fc1dd6c..33bd161394 100644
--- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/peers.js
+++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/peers.js
@@ -18,7 +18,7 @@ return view.extend({
render: function(data) {
var hosts = data[0];
- var m, s, o;
+ let m, s, o;
m = new form.Map('keepalived');
diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/track_interface.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/track_interface.js
index b407d0eef8..5330fb1451 100644
--- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/track_interface.js
+++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/track_interface.js
@@ -6,7 +6,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('keepalived');
diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/url.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/url.js
index 5e311fd255..16cb446367 100644
--- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/url.js
+++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/url.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('keepalived');
diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js
index f9f92f57f5..789f619525 100644
--- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js
+++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js
@@ -283,7 +283,7 @@ return view.extend({
render: function(data) {
var netDevs = data[0];
- var m, s, o;
+ let m, s, o;
m = new form.Map('keepalived');
diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_sync_group.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_sync_group.js
index 69ed8f2435..0636ad5402 100644
--- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_sync_group.js
+++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_sync_group.js
@@ -12,7 +12,7 @@ return view.extend({
},
render: function(data) {
- var m, s, o;
+ let m, s, o;
var instances;
instances = uci.sections('keepalived', 'vrrp_instance');
diff --git a/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/globals.js b/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/globals.js
index 3050e536cc..e48bedb2d7 100644
--- a/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/globals.js
+++ b/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/globals.js
@@ -13,7 +13,7 @@ return view.extend({
render: function(data) {
var netDevs = data[0];
- var m, s, o;
+ let m, s, o;
m = new form.Map('libreswan', _('IPSec Global Settings'));
diff --git a/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/proposals.js b/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/proposals.js
index e1b14a8e32..004a41a0f5 100644
--- a/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/proposals.js
+++ b/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/proposals.js
@@ -6,7 +6,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('libreswan', _('IPSec Proposals'));
diff --git a/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/tunnels.js b/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/tunnels.js
index a2d5fd8493..ff0f6ab6df 100644
--- a/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/tunnels.js
+++ b/applications/luci-app-libreswan/htdocs/luci-static/resources/view/libreswan/tunnels.js
@@ -31,7 +31,7 @@ return view.extend({
render: function(data) {
var netDevs = data[0];
- var m, s, o;
+ let m, s, o;
var proposals;
proposals = uci.sections('libreswan', 'crypto_proposal');
diff --git a/applications/luci-app-lorawan-basicstation/htdocs/luci-static/resources/view/lorawan-basicstation/general.js b/applications/luci-app-lorawan-basicstation/htdocs/luci-static/resources/view/lorawan-basicstation/general.js
index a4eb0d210b..5b7be6f7be 100644
--- a/applications/luci-app-lorawan-basicstation/htdocs/luci-static/resources/view/lorawan-basicstation/general.js
+++ b/applications/luci-app-lorawan-basicstation/htdocs/luci-static/resources/view/lorawan-basicstation/general.js
@@ -14,7 +14,7 @@ return view.extend({
},
render: function(data) {
- var m, s, o;
+ let m, s, o;
/* General Settings */
m = new form.Map('basicstation', _('General Settings'));
diff --git a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js
index dd80a840b2..35fd0da20b 100644
--- a/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js
+++ b/applications/luci-app-minidlna/htdocs/luci-static/resources/view/minidlna.js
@@ -31,7 +31,7 @@ var CBIMiniDLNAStatus = form.DummyValue.extend({
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('minidlna', _('miniDLNA'), _('MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP-AV clients.'));
diff --git a/applications/luci-app-mjpg-streamer/htdocs/luci-static/resources/view/mjpg-streamer/mjpg-streamer.js b/applications/luci-app-mjpg-streamer/htdocs/luci-static/resources/view/mjpg-streamer/mjpg-streamer.js
index 6fb6f3c27b..f4533f7c49 100644
--- a/applications/luci-app-mjpg-streamer/htdocs/luci-static/resources/view/mjpg-streamer/mjpg-streamer.js
+++ b/applications/luci-app-mjpg-streamer/htdocs/luci-static/resources/view/mjpg-streamer/mjpg-streamer.js
@@ -26,7 +26,7 @@ return view.extend({
return Promise.all([uci.load('mjpg-streamer')]);
},
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('mjpg-streamer', 'MJPG-streamer', _('mjpg streamer is a streaming application for Linux-UVC compatible webcams'));
diff --git a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js
index b8c12c0e9b..299998086f 100644
--- a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js
+++ b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/globals.js
@@ -5,7 +5,7 @@
return view.extend({
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('mwan3', _('MultiWAN Manager - Globals'));
diff --git a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js
index c9ec5209c7..c515a1dd64 100644
--- a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js
+++ b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/interface.js
@@ -16,7 +16,7 @@ return view.extend({
},
render: function (stats) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('mwan3', _('MultiWAN Manager - Interfaces'),
_('Mwan3 requires that all interfaces have a unique metric configured in /etc/config/network.') + '
' +
diff --git a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js
index 17946da2c8..814d1401a4 100644
--- a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js
+++ b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/member.js
@@ -12,7 +12,7 @@ return view.extend({
},
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('mwan3', _('MultiWAN Manager - Members'),
_('Members are profiles attaching a metric and weight to an MWAN interface.') + '
' +
diff --git a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js
index 3963185f6a..73ab7b7469 100644
--- a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js
+++ b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/policy.js
@@ -12,7 +12,7 @@ return view.extend({
},
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('mwan3', _('MultiWAN Manager - Policies'),
_('Policies are profiles grouping one or more members controlling how Mwan3 distributes traffic.') + '
' +
diff --git a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js
index 2e90e5dd26..a6523ec2e9 100644
--- a/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js
+++ b/applications/luci-app-mwan3/htdocs/luci-static/resources/view/mwan3/network/rule.js
@@ -14,7 +14,7 @@ return view.extend({
},
render: function (data) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('mwan3', _('MultiWAN Manager - Rules'),
_('Rules specify which traffic will use a particular MWAN policy.') + '
' +
diff --git a/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js b/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js
index 49349437ad..a602ec0635 100644
--- a/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js
+++ b/applications/luci-app-natmap/htdocs/luci-static/resources/view/natmap.js
@@ -45,7 +45,7 @@ return view.extend({
return getStatus();
},
render: function(status) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('natmap', _('NATMap'));
s = m.section(form.GridSection, 'natmap');
diff --git a/applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js b/applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js
index 8ec5188609..a1d6c5677d 100644
--- a/applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js
+++ b/applications/luci-app-nextdns/htdocs/luci-static/resources/view/nextdns/overview.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('nextdns', _('NextDNS'),
_('NextDNS Configuration.')
diff --git a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js
index bdebf296ea..033c495a31 100644
--- a/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js
+++ b/applications/luci-app-nlbwmon/htdocs/luci-static/resources/view/nlbw/config.js
@@ -47,7 +47,7 @@ return view.extend({
},
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('nlbwmon', _('Netlink Bandwidth Monitor - Configuration'),
_('The Netlink Bandwidth Monitor (nlbwmon) is a lightweight, efficient traffic accounting program keeping track of bandwidth usage per host and protocol.'));
diff --git a/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js b/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js
index f7067990a1..1a16e3829d 100644
--- a/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js
+++ b/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_cgi.js
@@ -8,7 +8,7 @@ return view.extend({
},
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('nut_cgi', _('NUT CGI'),
_('Network UPS Tools CGI Configuration') + '
' +
diff --git a/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js b/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js
index 16b951a6d6..b051126484 100644
--- a/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js
+++ b/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_monitor.js
@@ -31,7 +31,7 @@ return view.extend({
},
render: function(loaded_promises) {
- var m, s, o;
+ let m, s, o;
const have_ssl_support = loaded_promises[0];
m = new form.Map('nut_monitor', _('NUT Monitor'),
diff --git a/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js b/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js
index 9de4d52b42..8f47277046 100644
--- a/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js
+++ b/applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js
@@ -27,7 +27,7 @@ return view.extend({
},
render: function(loaded_promises) {
- var m, s, o;
+ let m, s, o;
const have_ssl_support = loaded_promises[0];
const driver_list = loaded_promises[1];
diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js
index 2c0a87837f..7a4e860661 100644
--- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js
+++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd.js
@@ -26,7 +26,7 @@ return view.extend({
})]);
},
render: function () {
- var m, s, o;
+ let m, s, o;
var has_ipip;
diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js
index 5275be62d0..4eac0ca4f8 100644
--- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js
+++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrd6.js
@@ -26,7 +26,7 @@ return view.extend({
})]);
},
render: function () {
- var m, s, o;
+ let m, s, o;
var has_ipip;
diff --git a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrddisplay.js b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrddisplay.js
index cd29fdc881..5caa7f5933 100644
--- a/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrddisplay.js
+++ b/applications/luci-app-olsr/htdocs/luci-static/resources/view/olsr/frontend/olsrddisplay.js
@@ -9,7 +9,7 @@ return view.extend({
return Promise.all([uci.load('luci_olsr')]);
},
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('luci_olsr', _('OLSR - Display Options'));
diff --git a/applications/luci-app-omcproxy/htdocs/luci-static/resources/view/omcproxy.js b/applications/luci-app-omcproxy/htdocs/luci-static/resources/view/omcproxy.js
index a74bb4cd60..2f78fbb971 100644
--- a/applications/luci-app-omcproxy/htdocs/luci-static/resources/view/omcproxy.js
+++ b/applications/luci-app-omcproxy/htdocs/luci-static/resources/view/omcproxy.js
@@ -8,7 +8,7 @@
return view.extend({
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('omcproxy', _('omcproxy'), _('Embedded IGMPv3 and MLDv2 proxy'));
diff --git a/applications/luci-app-openwisp/htdocs/luci-static/resources/view/openwisp.js b/applications/luci-app-openwisp/htdocs/luci-static/resources/view/openwisp.js
index 60766d321c..a8856bd332 100644
--- a/applications/luci-app-openwisp/htdocs/luci-static/resources/view/openwisp.js
+++ b/applications/luci-app-openwisp/htdocs/luci-static/resources/view/openwisp.js
@@ -5,7 +5,7 @@
return view.extend({
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('openwisp',
_('OpenWISP'),
diff --git a/applications/luci-app-pagekitec/htdocs/luci-static/resources/view/pagekitec.js b/applications/luci-app-pagekitec/htdocs/luci-static/resources/view/pagekitec.js
index 9289bf3260..9656ea46fe 100644
--- a/applications/luci-app-pagekitec/htdocs/luci-static/resources/view/pagekitec.js
+++ b/applications/luci-app-pagekitec/htdocs/luci-static/resources/view/pagekitec.js
@@ -12,7 +12,7 @@ var desc = _(""
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('pagekitec', _('PageKite'), desc);
diff --git a/applications/luci-app-qos/htdocs/luci-static/resources/view/qos/qos.js b/applications/luci-app-qos/htdocs/luci-static/resources/view/qos/qos.js
index 4f679c0564..db22cbbfe5 100644
--- a/applications/luci-app-qos/htdocs/luci-static/resources/view/qos/qos.js
+++ b/applications/luci-app-qos/htdocs/luci-static/resources/view/qos/qos.js
@@ -20,7 +20,7 @@ return view.extend({
},
render: function (loaded_promises) {
- var m, s, o;
+ let m, s, o;
const networks = loaded_promises[0];
const hosts = loaded_promises[1];
diff --git a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js
index 981a6822d9..9e22e49a7b 100644
--- a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js
+++ b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-relay.js
@@ -12,7 +12,7 @@ return view.extend({
},
render: function (loaded_promises) {
- var m, s, o;
+ let m, s, o;
const networks = loaded_promises[0];
m = new form.Map('pppoe', _('Roaring Penguin PPPoE Relay'),
diff --git a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js
index 5f246b5eac..4cdcbbe993 100644
--- a/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js
+++ b/applications/luci-app-rp-pppoe-server/htdocs/luci-static/resources/view/pppoe/rp-pppoe-server.js
@@ -12,7 +12,7 @@ return view.extend({
},
render: function (loaded_promises) {
- var m, s, o;
+ let m, s, o;
const networks = loaded_promises[0];
m = new form.Map('pppoe', _('Roaring Penguin PPPoE Server'),
diff --git a/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/leds.js b/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/leds.js
index d1342cd7bb..0e7466d41a 100644
--- a/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/leds.js
+++ b/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/leds.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('ser2net', 'ser2net');
diff --git a/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/proxies.js b/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/proxies.js
index 9e1c3c8f76..5c4e31b41e 100644
--- a/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/proxies.js
+++ b/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/proxies.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('ser2net', 'ser2net');
diff --git a/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/settings.js b/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/settings.js
index a93cc55e47..e21e240e74 100644
--- a/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/settings.js
+++ b/applications/luci-app-ser2net/htdocs/luci-static/resources/view/ser2net/settings.js
@@ -4,7 +4,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('ser2net', 'ser2net');
diff --git a/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js b/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js
index 37f63fcc6a..05d6bfe963 100644
--- a/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js
+++ b/applications/luci-app-smartdns/htdocs/luci-static/resources/view/smartdns/smartdns.js
@@ -88,7 +88,7 @@ return view.extend({
]);
},
render: function (stats) {
- var m, s, o;
+ let m, s, o;
var ss, so;
var servers, download_files;
diff --git a/applications/luci-app-snmpd/htdocs/luci-static/resources/view/snmpd/snmpd.js b/applications/luci-app-snmpd/htdocs/luci-static/resources/view/snmpd/snmpd.js
index b9e5e28530..6eabdae7d3 100644
--- a/applications/luci-app-snmpd/htdocs/luci-static/resources/view/snmpd/snmpd.js
+++ b/applications/luci-app-snmpd/htdocs/luci-static/resources/view/snmpd/snmpd.js
@@ -15,7 +15,7 @@ var desc = _(""
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map("snmpd", _("net-snmp's SNMPD"), desc);
diff --git a/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js b/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js
index 8b4a0aed04..a153ffe2db 100644
--- a/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js
+++ b/applications/luci-app-sqm/htdocs/luci-static/resources/view/network/sqm.js
@@ -59,7 +59,7 @@ return view.extend({
]));
}
- var m, s, o;
+ let m, s, o;
m = new form.Map('sqm', _('Smart Queue Management'));
m.description = _("With SQM you " +
diff --git a/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js b/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js
index 8688cc4134..ef697a668e 100644
--- a/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js
+++ b/applications/luci-app-squid/htdocs/luci-static/resources/view/squid.js
@@ -38,7 +38,7 @@ return view.extend({
var { config_file, mime_table } = data[0];
var options = data[1];
- var m, s, o;
+ let m, s, o;
m = new form.Map('squid', _('Squid'));
diff --git a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_hosts.js b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_hosts.js
index 464451cb5d..0313e8024a 100644
--- a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_hosts.js
+++ b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_hosts.js
@@ -19,7 +19,7 @@ return view.extend({
render: function (data) {
var knownHosts = data[0];
- var m, s, o;
+ let m, s, o;
m = new form.Map('sshtunnel', _('SSH Tunnels'),
_('This configures SSH Tunnels.')
diff --git a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_keys.js b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_keys.js
index 02f478ba81..54576b8bff 100644
--- a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_keys.js
+++ b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_keys.js
@@ -34,7 +34,7 @@ return view.extend({
hasSshKeygen = data[0].type === 'file';
var sshKeys = _splitSshKeys(data.splice(1));
- var m, s, o;
+ let m, s, o;
m = new form.Map('sshtunnel', _('SSH Tunnels'),
_('This configures SSH Tunnels.')
diff --git a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js
index 7a45ddc32b..a21868f1ee 100644
--- a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js
+++ b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_servers.js
@@ -19,7 +19,7 @@ return view.extend({
ui.addNotification(null, E('p', _('No SSH keys found, generate a new one').format('href="./ssh_keys"')), 'warning');
}
- var m, s, o;
+ let m, s, o;
m = new form.Map('sshtunnel', _('SSH Tunnels'),
_('This configures SSH Tunnels.')
diff --git a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_tunnels.js b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_tunnels.js
index a594b29a95..9f1ad83094 100644
--- a/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_tunnels.js
+++ b/applications/luci-app-sshtunnel/htdocs/luci-static/resources/view/sshtunnel/ssh_tunnels.js
@@ -13,7 +13,7 @@ return view.extend({
},
render: function (data) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('sshtunnel', _('SSH Tunnels'),
_('This configures SSH Tunnels.')
diff --git a/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js b/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js
index c18814aac3..e618280a72 100644
--- a/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js
+++ b/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js
@@ -29,7 +29,7 @@ return view.extend({
},
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('ipsec', _('strongSwan Configuration'),
_('Configure strongSwan for secure VPN connections.'));
diff --git a/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor-hs.js b/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor-hs.js
index 8007fe518c..b8e9efb05b 100644
--- a/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor-hs.js
+++ b/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor-hs.js
@@ -27,7 +27,7 @@ return view.extend({
hsMap.set(hs.name, hs.hostname);
});
- var m, s, o;
+ let m, s, o;
m = new form.Map('tor-hs', _('Tor Onion Services'),
_('Tor Onion (Hidden) Services are proxy tunnels to your local website, SSH and other services.') + '
' +
diff --git a/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor.js b/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor.js
index dde7ca75d3..61407d7587 100644
--- a/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor.js
+++ b/applications/luci-app-tor/htdocs/luci-static/resources/view/tor/tor.js
@@ -6,7 +6,7 @@
return view.extend({
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('tor', _('Tor onion router'),
_('For further information check the documentation')
diff --git a/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js b/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
index 87583b9122..8381f86924 100644
--- a/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
+++ b/applications/luci-app-transmission/htdocs/luci-static/resources/view/transmission.js
@@ -37,7 +37,7 @@ return view.extend({
if (running && webinstalled)
button = ' ' + _('Open Web Interface') + '';
- var m, s, o;
+ let m, s, o;
m = new form.Map('transmission', 'Transmission', _('Transmission daemon is a simple bittorrent client, here you can configure the settings.') + button);
diff --git a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js
index 5d8920bcb9..6d1298b9e7 100644
--- a/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js
+++ b/applications/luci-app-travelmate/htdocs/luci-static/resources/view/travelmate/overview.js
@@ -143,7 +143,7 @@ return view.extend({
},
render: function (result) {
- var m, s, o;
+ let m, s, o;
m = new form.Map('travelmate', 'Travelmate', _('Configuration of the travelmate package to enable travel router functionality. \
For further information check the online documentation.
\
diff --git a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
index 240b5140eb..84d7d3fa85 100644
--- a/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
+++ b/applications/luci-app-ttyd/htdocs/luci-static/resources/view/ttyd/config.js
@@ -5,7 +5,7 @@
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('ttyd');
diff --git a/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js b/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
index 640d77155d..d6a4cf03f5 100644
--- a/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
+++ b/applications/luci-app-udpxy/htdocs/luci-static/resources/view/udpxy.js
@@ -151,7 +151,7 @@ var CBIBindSelect = form.ListValue.extend({
return view.extend({
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('udpxy', _('udpxy'),
_('udpxy is an IPTV stream relay, a UDP-to-HTTP multicast traffic relay daemon which forwards multicast UDP streams to HTTP clients.'));
diff --git a/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js b/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
index 5731f78242..ea4a412d28 100644
--- a/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
+++ b/applications/luci-app-upnp/htdocs/luci-static/resources/view/upnp/upnp.js
@@ -70,7 +70,7 @@ return view.extend({
render: function(data) {
- var m, s, o;
+ let m, s, o;
var protocols = '%s & %s/%s'.format(
'UPnP IGD',
diff --git a/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js b/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
index bc5ebce8ab..100463408e 100644
--- a/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
+++ b/applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
@@ -364,7 +364,7 @@ return view.extend({
},
render: function (data) {
- var m, s, o;
+ let m, s, o;
if (!('usteer' in data[0])) {
m = new form.Map('usteer', _('Usteer'),
diff --git a/applications/luci-app-v2raya/htdocs/luci-static/resources/view/v2raya/config.js b/applications/luci-app-v2raya/htdocs/luci-static/resources/view/v2raya/config.js
index 27dece5414..ab7c13c8da 100644
--- a/applications/luci-app-v2raya/htdocs/luci-static/resources/view/v2raya/config.js
+++ b/applications/luci-app-v2raya/htdocs/luci-static/resources/view/v2raya/config.js
@@ -44,7 +44,7 @@ return view.extend({
},
render: function(data) {
- var m, s, o;
+ let m, s, o;
var webport = (uci.get(data[0], 'config', 'address') || '0.0.0.0:2017').split(':').slice(-1)[0];
m = new form.Map('v2raya', _('v2rayA'),
diff --git a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js
index dd5bf715e4..8efe17bff3 100644
--- a/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js
+++ b/applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/config.js
@@ -38,7 +38,7 @@ return view.extend({
},
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('vnstat', _('vnStat'), _('vnStat is a network traffic monitor for Linux that keeps a log of network traffic for the selected interface(s).'));
diff --git a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js
index 6f4642136d..b357db2a4c 100644
--- a/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js
+++ b/applications/luci-app-watchcat/htdocs/luci-static/resources/view/watchcat.js
@@ -5,7 +5,7 @@
return view.extend({
render: function () {
- var m, s, o;
+ let m, s, o;
m = new form.Map('watchcat',
_('Watchcat'),
diff --git a/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js b/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js
index a523dc2548..da78430a52 100644
--- a/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js
+++ b/applications/luci-app-xfrpc/htdocs/luci-static/resources/view/xfrpc.js
@@ -37,7 +37,7 @@ function renderStatus(isRunning) {
return view.extend({
render: function() {
- var m, s, o;
+ let m, s, o;
m = new form.Map('xfrpc', _('xfrpc'));
m.description = _("xfrpc is a c language frp client for frps.");
diff --git a/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js b/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js
index d1476ae1e5..cf5e5d0a72 100644
--- a/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js
+++ b/applications/luci-app-xinetd/htdocs/luci-static/resources/view/xinetd/xinetd.js
@@ -24,7 +24,7 @@ return view.extend({
},
render: function(promises) {
- var m, s, o;
+ let m, s, o;
var networks = promises[0];
m = new form.Map('xinetd', _('Xinetd Settings'), _('Here you can configure Xinetd services'));