luci-mod-network: Add description field to VLANs
Having a description attached to a VLAN makes identification a lot easier when dealing with many VLANs Signed-off-by: Tobias Schramm <tobleminer@gmail.com>
This commit is contained in:
parent
796301a02f
commit
2ab71420c3
1 changed files with 2 additions and 0 deletions
|
@ -334,6 +334,8 @@ return L.view.extend({
|
|||
return (value || uci.get('network', section_id, 'vlan'));
|
||||
};
|
||||
|
||||
s.option(form.Value, 'description', _('Description'));
|
||||
|
||||
for (var j = 0; Array.isArray(topology.ports) && j < topology.ports.length; j++) {
|
||||
var portspec = topology.ports[j],
|
||||
portstate = Array.isArray(topology.portstate) ? topology.portstate[portspec.num] : null;
|
||||
|
|
Loading…
Reference in a new issue