2 LuCI - Lua Configuration Interface
4 Copyright 2008 Steven Barth <steven@midlink.org>
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
14 m = Map("system", translate("buttons"), translate("buttons_desc"))
16 s = m:section(TypedSection, "button", "")
20 s:option(Value, "button")
22 act = s:option(ListValue, "action")
25 s:option(Value, "handler")
27 min = s:option(Value, "min")
30 max = s:option(Value, "max")