luci-app-vnstat2: fully convert to client side rendering 3591/head
authorJo-Philipp Wich <jo@mein.io>
Thu, 30 Jan 2020 11:08:35 +0000 (12:08 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 31 Jan 2020 07:51:55 +0000 (08:51 +0100)
commit40c56ddd7797f9e916abe5443784b21ed9ba51cf
tree2845066826f787cfc2d100a3e073737cfa03cf89
parent7cfce565530cbf6103275002ad20af57a509ad7b
luci-app-vnstat2: fully convert to client side rendering

This converts the graph rendering to client side JavaScript and replaces
the route registration with declarative JSON.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-vnstat2/htdocs/luci-static/resources/view/vnstat2/graphs.js [new file with mode: 0644]
applications/luci-app-vnstat2/luasrc/controller/vnstat2.lua [deleted file]
applications/luci-app-vnstat2/luasrc/view/vnstat2/graphs.htm [deleted file]
applications/luci-app-vnstat2/root/usr/share/luci/menu.d/luci-app-vnstat2.json [new file with mode: 0644]
applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json