Merge pull request #278 from nmav/ocserv
[project/luci.git] / applications / luci-vnstat / luasrc / controller / vnstat.lua
1 module("luci.controller.vnstat", package.seeall)
2
3 function index()
4         entry({"admin", "status", "vnstat"}, alias("admin", "status", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90)
5         entry({"admin", "status", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1)
6         entry({"admin", "status", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2)
7
8         entry({"mini", "network", "vnstat"}, alias("mini", "network", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90)
9         entry({"mini", "network", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1)
10         entry({"mini", "network", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2)
11 end