SmartAudio/package/luci/luci-app-polipo/luasrc/controller/polipo.lua

16 lines
533 B
Lua
Raw Normal View History

2018-07-13 01:31:50 +00:00
-- Copyright 2008 Aleksandar Krsteski <alekrsteski@gmail.com>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.polipo", package.seeall)
function index()
if not nixio.fs.access("/etc/config/polipo") then
return
end
entry({"admin", "services", "polipo"}, alias("admin", "services", "polipo", "config"), _("Polipo"))
entry({"admin", "services", "polipo", "status"}, template("polipo_status"), _("Status"))
entry({"admin", "services", "polipo", "config"}, cbi("polipo"), _("Configuration"))
end