applications/luci-statistics: remove plugin overview pages, jump to first plugin...
[project/luci.git] / applications / luci-statistics / luasrc / model / cbi / luci_statistics / wireless.lua
1 --[[
2
3 Luci configuration model for statistics - collectd wireless plugin configuration
4 (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
5
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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 $Id$
13
14 ]]--
15
16 m = Map("luci_statistics",
17 translate("Wireless Plugin Configuration"),
18 translate(
19 "The wireless plugin collects statistics about wireless signal " ..
20 "strength, noise and quality."
21 ))
22
23 -- collectd_wireless config section
24 s = m:section( NamedSection, "collectd_wireless", "luci_statistics" )
25
26 -- collectd_wireless.enable
27 enable = s:option( Flag, "enable", translate("Enable this plugin") )
28 enable.default = 0
29
30 return m