applications/luci-statistics: rework handling of index and detail graphs
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 5 Dec 2011 14:09:24 +0000 (14:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 5 Dec 2011 14:09:24 +0000 (14:09 +0000)
commite046455389f1030accf1341a6d75992c9b0a9447
tree45b2e4589a57df3f79356ef0fd2f755c56d8095c
parent239672e76b6005c300682f467be4855a8b7fe648
applications/luci-statistics: rework handling of index and detail graphs
Instead of coding the display logic into the graph models, simply annotate
graph models with .detail = true/false and let the renderer decide which
to pick when.
applications/luci-statistics/luasrc/statistics/rrdtool.lua
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/disk.lua
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/ping.lua
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/processes.lua
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/tcpconns.lua