Rework LuCI build system
[project/luci.git] / applications / luci-app-statistics / luasrc / model / cbi / luci_statistics / splash_leases.lua
1 --[[
2
3 Luci configuration model for statistics - collectd splash_leases plugin configuration
4 (c) 2013 Freifunk Augsburg / Michael Wendland <michael@michiwend.com>
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 ]]--
13
14 m = Map("luci_statistics",
15         translate("Splash Leases Plugin Configuration"),
16         translate("The splash leases plugin uses libuci to collect statistics about splash leases."))
17
18 s = m:section( NamedSection, "collectd_splash_leases", "luci_statistics" )
19
20 enable = s:option( Flag, "enable", translate("Enable this plugin") )
21 enable.default = 1
22
23 return m
24