]> git.99rst.org Git - openwrt-luci.git/blob
b54a0af27e6b30e69b7c168214f4776f3cc050ef
[openwrt-luci.git] /
1 /* Licensed to the public under the Apache License 2.0. */
2
3 'use strict';
4 'require baseclass';
5
6 return baseclass.extend({
7 title: _('DHCP Leases'),
8
9 rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
10 return {
11 title: "%H: DHCP leases",
12 alt_autoscale_max: true,
13 vlabel: "Leases given",
14 number_format: "%3.0lf",
15 data: {
16 types: [ "count" ],
17 options: {
18 count: {
19 title: "Leases"
20 }
21 }
22 }
23 };
24 }
25 });
git clone https://git.99rst.org/PROJECT