mirror of
https://github.com/openwrt/luci
synced 2025-01-07 03:27:12 +08:00
treewide: replace "var m, s, o" with "let m, s, o"
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
This commit is contained in:
parent
e1d8f0e6f9
commit
22d48305af
@ -200,7 +200,7 @@ return view.extend({
|
||||
}
|
||||
}
|
||||
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('rpcd', _('LuCI Logins'));
|
||||
|
||||
|
@ -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. " +
|
||||
|
@ -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 <a href="https://github.com/openwrt/packages/blob/master/net/adblock/files/README.md" target="_blank" rel="noreferrer noopener" >check the online documentation</a>'));
|
||||
|
@ -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'),
|
||||
|
@ -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"') + '<br />' +
|
||||
|
@ -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"'));
|
||||
|
@ -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"') + '<br />' +
|
||||
|
@ -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.'));
|
||||
|
@ -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');
|
||||
|
@ -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')), '<p>%s</p><p>%s</p>'.format(
|
||||
_('Aria2 is a lightweight multi-protocol & multi-source, cross platform download utility.'),
|
||||
|
@ -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 ' +
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -11,7 +11,7 @@ return view.extend({
|
||||
},
|
||||
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('clamav', _('ClamAV'), _('Configuration'));
|
||||
|
||||
|
@ -10,7 +10,7 @@ return view.extend({
|
||||
},
|
||||
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('freshclam', _('Freshclam'), _('Configuration'));
|
||||
|
||||
|
@ -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.') + '<br />' +
|
||||
|
@ -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.'));
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('crowdsec', _('CrowdSec'),
|
||||
_('Gain <a href="http://www.crowdsec.net">crowd-sourced</a> protection against malicious IPs. ' +
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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.'));
|
||||
|
@ -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.') + '<br />' +
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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'), '');
|
||||
|
||||
|
@ -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.<br />'));
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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'));
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('keepalived');
|
||||
|
||||
|
@ -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');
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('keepalived');
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('keepalived');
|
||||
|
||||
|
@ -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');
|
||||
|
||||
|
@ -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');
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('libreswan', _('IPSec Proposals'));
|
||||
|
||||
|
@ -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');
|
||||
|
@ -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'));
|
||||
|
@ -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.'));
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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.') + '<br />' +
|
||||
|
@ -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.') + '<br />' +
|
||||
|
@ -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.') + '<br />' +
|
||||
|
@ -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.') + '<br />' +
|
||||
|
@ -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');
|
||||
|
@ -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.')
|
||||
|
@ -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.'));
|
||||
|
@ -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') + '<br />' +
|
||||
|
@ -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'),
|
||||
|
@ -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];
|
||||
|
||||
|
@ -26,7 +26,7 @@ return view.extend({
|
||||
})]);
|
||||
},
|
||||
render: function () {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
var has_ipip;
|
||||
|
||||
|
@ -26,7 +26,7 @@ return view.extend({
|
||||
})]);
|
||||
},
|
||||
render: function () {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
var has_ipip;
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function () {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('openwisp',
|
||||
_('OpenWISP'),
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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];
|
||||
|
||||
|
@ -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'),
|
||||
|
@ -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'),
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('ser2net', 'ser2net');
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('ser2net', 'ser2net');
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('ser2net', 'ser2net');
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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 <abbr title=\"Smart Queue Management\">SQM</abbr> you " +
|
||||
|
@ -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'));
|
||||
|
||||
|
@ -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 <a %s>SSH Tunnels</a>.')
|
||||
|
@ -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 <a %s>SSH Tunnels</a>.')
|
||||
|
@ -19,7 +19,7 @@ return view.extend({
|
||||
ui.addNotification(null, E('p', _('No SSH keys found, <a %s>generate a new one</a>').format('href="./ssh_keys"')), 'warning');
|
||||
}
|
||||
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('sshtunnel', _('SSH Tunnels'),
|
||||
_('This configures <a %s>SSH Tunnels</a>.')
|
||||
|
@ -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 <a %s>SSH Tunnels</a>.')
|
||||
|
@ -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.'));
|
||||
|
@ -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.') + '<br />' +
|
||||
|
@ -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 <a %s>check the documentation</a>')
|
||||
|
@ -37,7 +37,7 @@ return view.extend({
|
||||
if (running && webinstalled)
|
||||
button = ' <a class="btn" href="http://' + window.location.hostname + ':' + port + '" target="_blank" rel="noreferrer noopener">' + _('Open Web Interface') + '</a>';
|
||||
|
||||
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);
|
||||
|
||||
|
@ -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 <a href="https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md" target="_blank" rel="noreferrer noopener" >check the online documentation</a>. <br /> \
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function() {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('ttyd');
|
||||
|
||||
|
@ -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.'));
|
||||
|
@ -70,7 +70,7 @@ return view.extend({
|
||||
|
||||
render: function(data) {
|
||||
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
var protocols = '%s & %s/%s'.format(
|
||||
'<a href="https://en.wikipedia.org/wiki/Internet_Gateway_Device_Protocol" target="_blank" rel="noreferrer"><abbr title="UPnP Internet Gateway Device (Control Protocol)">UPnP IGD</abbr></a>',
|
||||
|
@ -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'),
|
||||
|
@ -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'),
|
||||
|
@ -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).'));
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
return view.extend({
|
||||
render: function () {
|
||||
var m, s, o;
|
||||
let m, s, o;
|
||||
|
||||
m = new form.Map('watchcat',
|
||||
_('Watchcat'),
|
||||
|
@ -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.");
|
||||
|
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user