4 (c) 2008 Yanira <forum-2008@email.de>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 local uci = luci.model.uci.cursor_state()
18 m = Map("p910nd", translate("p910nd", "p910nd"),
19 translatef("p910nd_desc"))
21 s = m:section(TypedSection, "p910nd", translate("settings", "settings"))
25 s:option(Flag, "enabled", translate("enable"))
27 s:option(Value, "device", translate("device", "Device")).rmempty = true
29 s:option(Value, "port", translate("port"), translate("port_help")).rmempty = true
31 s:option(Flag, "bidirectional", translate("bidirectional"))