🌴 Sync 2026-03-05 23:51:42

This commit is contained in:
github-actions[bot] committed 2026-03-05 23:51:42 +08:00
1 parent 97c049ed0a
commit 0acff03804
14253 files changed
+3893239

No files matched your search

@@ -0,0 +1,11 @@
---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by thomas.
--- DateTime: 10/17/20 11:39 AM
---
module("luci.controller.admin.exc_nwk", package.seeall)
function index()
entry({ "admin", "exc_nwk" }, firstchild(), translate("Switch Settings"), 75).dependent = false
entry({ "admin", "exc_nwk", "mode" }, cbi("exc_nwk/workmode"), translate("Mode"), 1)
end
@@ -0,0 +1,15 @@
---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by thomas.
--- DateTime: 9/7/20 5:17 PM
---
m = Map("switchmode", translate("Gateway work mode"))
s = m:section(NamedSection, "settings", "workmode")
o = s:option(ListValue, "mode", translate("Mode"))
o:value("0", translate("Switch mode"))
o:value("1", translate("Route mode"))
o.default = "1"
o.rmempty = true
return m