adblock.lua 747 B

123456789101112
  1. -- stub lua controller for 19.07 backward compatibility
  2. module("luci.controller.adblock", package.seeall)
  3. function index()
  4. entry({"admin", "services", "adblock"}, firstchild(), _("Adblock"), 60).acl_depends = { "luci-app-adblock" }
  5. entry({"admin", "services", "adblock", "overview"}, view("adblock/overview"), _("Overview"), 10)
  6. entry({"admin", "services", "adblock", "dnsreport"}, view("adblock/dnsreport"), _("DNS Report"), 20)
  7. entry({"admin", "services", "adblock", "blacklist"}, view("adblock/blacklist"), _("Edit Blacklist"), 30)
  8. entry({"admin", "services", "adblock", "whitelist"}, view("adblock/whitelist"), _("Edit Whitelist"), 40)
  9. entry({"admin", "services", "adblock", "logread"}, view("adblock/logread"), _("Log View"), 50)
  10. end