1
0

vnstat.lua 646 B

1234567891011
  1. module("luci.controller.vnstat", package.seeall)
  2. function index()
  3. entry({"admin", "status", "vnstat"}, alias("admin", "status", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90)
  4. entry({"admin", "status", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1)
  5. entry({"admin", "status", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2)
  6. entry({"mini", "network", "vnstat"}, alias("mini", "network", "vnstat", "graphs"), _("VnStat Traffic Monitor"), 90)
  7. entry({"mini", "network", "vnstat", "graphs"}, template("vnstat"), _("Graphs"), 1)
  8. entry({"mini", "network", "vnstat", "config"}, cbi("vnstat"), _("Configuration"), 2)
  9. end