Globally reduce copyright headers
[project/luci.git] / applications / luci-app-statistics / luasrc / statistics / rrdtool / definitions / splash_leases.lua
1 -- Copyright 2013 Freifunk Augsburg / Michael Wendland <michael@michiwend.com>
2 -- Licensed to the public under the Apache License 2.0.
3
4     
5 module("luci.statistics.rrdtool.definitions.splash_leases", package.seeall)
6                                        
7 function rrdargs( graph, plugin, plugin_instance, dtype )
8                              
9     return {
10         title = "%H: Splash Leases",
11         vlabel = "Active Clients",  
12         y_min = "0",          
13         number_format = "%5.1lf",
14         data = {         
15             sources = {
16                 splash_leases = { "leased", "whitelisted", "blacklisted" }
17             },                                
18               
19             options = {
20                 splash_leases__leased      = { color = "00CC00", title = "Leased",      overlay = false },
21                 splash_leases__whitelisted = { color = "0000FF", title = "Whitelisted", overlay = false },
22                 splash_leases__blacklisted = { color = "FF0000", title = "Blacklisted", overlay = false } 
23             }                                                 
24         }    
25     }
26
27 end