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
15 m = Map("system", translate("Buttons"),
16 translate("This page allows the configuration of custom button actions"))
18 s = m:section(TypedSection, "button", "")
22 s:option(Value, "button", translate("Name"))
24 act = s:option(ListValue, "action",
26 translate("Specifies the button state to handle"))
30 s:option(Value, "handler",
32 translate("Path to executable which handles the button event"))
34 min = s:option(Value, "min", translate("Minimum hold time"))
37 max = s:option(Value, "max", translate("Maximum hold time"))