🐶 Sync 2026-04-18 02:04:09

This commit is contained in:
github-actions[bot] committed 2026-04-18 02:04:09 +08:00
1 parent 411261cf2a
commit 50677d77a8
207 files changed
+3148 -3426

No files matched your search

@@ -5,10 +5,7 @@ function index()
return
end
local page = entry({"admin", "services", "mia"}, cbi("mia"), _("Internet Access Schedule Control"), 30)
page.dependent = true
page.acl_depends = { "luci-app-accesscontrol" }
entry({"admin", "services", "mia"}, cbi("mia"), _("Internet Access Schedule Control"), 30).dependent = true
entry({"admin", "services", "mia", "status"}, call("act_status")).leaf = true
end
@@ -1,5 +1,7 @@
a = Map("mia")
a.title = translate("Internet Access Schedule Control")
a.description = translate("Access Schedule Control Settins")
a = Map("mia", translate("Internet Access Schedule Control"), translate("Access Schedule Control Settins"))
a:section(SimpleSection).template = "mia/mia_status"
t = a:section(TypedSection, "basic")
@@ -9,8 +11,8 @@ e = t:option(Flag, "enable", translate("Enabled"))
e.rmempty = false
e = t:option(Flag, "strict", translate("Strict Mode"))
e.rmempty = false
e.description = translate("Strict Mode will degrade CPU performance, but it can achieve better results")
e.rmempty = false
t = a:section(TypedSection, "macbind", translate("Client Rules"))
t.template = "cbi/tblsection"
@@ -28,12 +30,12 @@ e:value(t,"%s (%s)"%{t,a})
end)
e = t:option(Value, "timeon", translate("Start time"))
e.default = "00:00"
e.optional = false
e.default = "00:00"
e = t:option(Value, "timeoff", translate("End time"))
e.default = "23:59"
e.optional = false
e.default = "23:59"
e = t:option(Flag, "z1", translate("Mon"))
e.rmempty = true