luci-app-mwan3: unify header in configuration tab
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
0b4942c396
commit
72bcd39b9f
6 changed files with 12 additions and 12 deletions
|
@ -14,9 +14,9 @@ $Id$
|
|||
|
||||
local net = require "luci.model.network".init()
|
||||
|
||||
m = Map("mwan3")
|
||||
m = Map("mwan3", translate("MWAN - Globals"))
|
||||
|
||||
s = m:section(NamedSection, "globals", "globals", translate("Globals mwan3 options"))
|
||||
s = m:section(NamedSection, "globals", "globals", nil)
|
||||
n = s:option(ListValue, "local_source",
|
||||
translate("Local source interface"),
|
||||
translate("Use the IP address of this interface as source IP address for traffic initiated by the router itself"))
|
||||
|
|
|
@ -98,12 +98,12 @@ errorRouteList = " "
|
|||
interfaceCheck()
|
||||
|
||||
|
||||
m5 = Map("mwan3", translate("MWAN Interface Configuration"),
|
||||
m5 = Map("mwan3", translate("MWAN - Interfaces"),
|
||||
interfaceWarnings())
|
||||
m5:append(Template("mwan/config_css"))
|
||||
|
||||
|
||||
mwan_interface = m5:section(TypedSection, "interface", translate("Interfaces"),
|
||||
mwan_interface = m5:section(TypedSection, "interface", nil,
|
||||
translate("MWAN supports up to 250 physical and/or logical interfaces<br />" ..
|
||||
"MWAN requires that all interfaces have a unique metric configured in /etc/config/network<br />" ..
|
||||
"Names must match the interface name found in /etc/config/network (see advanced tab)<br />" ..
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
ds = require "luci.dispatcher"
|
||||
|
||||
|
||||
m5 = Map("mwan3", translate("MWAN Member Configuration"))
|
||||
m5 = Map("mwan3", translate("MWAN - Members"))
|
||||
m5:append(Template("mwan/config_css"))
|
||||
|
||||
|
||||
mwan_member = m5:section(TypedSection, "member", translate("Members"),
|
||||
mwan_member = m5:section(TypedSection, "member", nil,
|
||||
translate("Members are profiles attaching a metric and weight to an MWAN interface<br />" ..
|
||||
"Names may contain characters A-Z, a-z, 0-9, _ and no spaces<br />" ..
|
||||
"Members may not share the same name as configured interfaces, policies or rules"))
|
||||
|
|
|
@ -4,9 +4,9 @@ local fs = require "nixio.fs"
|
|||
local ut = require "luci.util"
|
||||
script = "/etc/mwan3.user"
|
||||
|
||||
m5 = SimpleForm("luci", nil)
|
||||
m5 = SimpleForm("luci", translate("MWAN - Notification"))
|
||||
|
||||
f = m5:section(SimpleSection, translate("MWAN Notification"),
|
||||
f = m5:section(SimpleSection, nil,
|
||||
translate("This section allows you to modify the content of \"/etc/mwan3.user\".<br />" ..
|
||||
"The file is also preserved during sysupgrade.<br />" ..
|
||||
"<br />" ..
|
||||
|
|
|
@ -29,12 +29,12 @@ err_name_list = " "
|
|||
policyCheck()
|
||||
|
||||
|
||||
m5 = Map("mwan3", translate("MWAN Policy Configuration"),
|
||||
m5 = Map("mwan3", translate("MWAN - Policies"),
|
||||
policyWarn())
|
||||
m5:append(Template("mwan/config_css"))
|
||||
|
||||
|
||||
mwan_policy = m5:section(TypedSection, "policy", translate("Policies"),
|
||||
mwan_policy = m5:section(TypedSection, "policy", nil,
|
||||
translate("Policies are profiles grouping one or more members controlling how MWAN distributes traffic<br />" ..
|
||||
"Member interfaces with lower metrics are used first. Interfaces with the same metric load-balance<br />" ..
|
||||
"Load-balanced member interfaces distribute more traffic out those with higher weights<br />" ..
|
||||
|
|
|
@ -33,12 +33,12 @@ error_protocol_list = " "
|
|||
ruleCheck()
|
||||
|
||||
|
||||
m5 = Map("mwan3", translate("MWAN Rule Configuration"),
|
||||
m5 = Map("mwan3", translate("MWAN - Rules"),
|
||||
ruleWarn())
|
||||
m5:append(Template("mwan/config_css"))
|
||||
|
||||
|
||||
mwan_rule = m5:section(TypedSection, "rule", translate("Traffic Rules"),
|
||||
mwan_rule = m5:section(TypedSection, "rule", nil,
|
||||
translate("Rules specify which traffic will use a particular MWAN policy based on IP address, port or protocol<br />" ..
|
||||
"Rules are matched from top to bottom. Rules below a matching rule are ignored. Traffic not matching any rule is routed using the main routing table<br />" ..
|
||||
"Traffic destined for known (other than default) networks is handled by the main routing table. Traffic matching a rule, but all WAN interfaces for that policy are down will be blackholed<br />" ..
|
||||
|
|
Loading…
Reference in a new issue