0
0
mirror of https://github.com/openwrt/routing.git synced 2025-02-23 17:26:14 +00:00
Patrick Grimm d27be8dad9 luci-app-olsrd2: New Package for OLSR2 configuration and status visualisation'
Compile tested: mips_24kc, arm_cortex-a9_vfpv3-d16, i386_pentium4, x86_64, i386_pentium-mmx, mipsel_24kc

Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2023-01-23 14:25:30 +01:00

23 lines
568 B
JavaScript

'use strict';
'require view';
'require form';
return view.extend({
render: function() {
var m, s, o;
m = new form.Map('luci_olsrd2', 'Luci options');
s = m.section(form.TypedSection, 'olsrd2', _('LUCI'));
s.anonymous = true;
s.addremove = false;
o = s.option(form.Flag, "resolve", _("do Hostname lookup"), "");
o.datatype = "bool";
o = s.option(form.Value, "domain", _("optional Public domain forwarding with dnsmasq-full (auth-zone=example.com) on the internetgateway "), "default is olsr");
o.datatype = "string";
return m.render();
}
});