1 -- Copyright 2013 Freifunk Augsburg / Michael Wendland <michael@michiwend.com>
2 -- Licensed to the public under the Apache License 2.0.
4 module("luci.statistics.rrdtool.definitions.splash_leases", package.seeall)
7 return luci.i18n.translate("Splash Leases")
10 function rrdargs( graph, plugin, plugin_instance, dtype )
13 title = "%H: Splash Leases",
14 vlabel = "Active Clients",
16 number_format = "%5.1lf",
19 splash_leases = { "leased", "whitelisted", "blacklisted" }
23 splash_leases__leased = { color = "00CC00", title = "Leased", overlay = false },
24 splash_leases__whitelisted = { color = "0000FF", title = "Whitelisted", overlay = false },
25 splash_leases__blacklisted = { color = "FF0000", title = "Blacklisted", overlay = false }