mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 04:45:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
@@ -0,0 +1,7 @@
|
||||
module("luci.controller.rtty", package.seeall)
|
||||
|
||||
function index()
|
||||
entry({"admin", "wiwiz_menu"}, firstchild(), "Wiwiz", 60).dependent=true
|
||||
entry({"admin", "wiwiz_menu", "rtty"}, cbi("rtty"), translate("Remote Control (DCC2)"), 59).dependent = true
|
||||
end
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
m = Map("rtty", translate("Wiwiz"), translate("Remote Control (DCC2)") .." ver 1.2.6 <a href='http://www.wiwiz.com/pinpinwifi/wiwiz-ipk.htm' target='_blank'>".. translate("Readme") .."</a>")
|
||||
|
||||
rtty = m:section(TypedSection, "rtty", "")
|
||||
|
||||
enabled = rtty:option(Flag, "enabled", translate("Enable"));
|
||||
enabled.optional = false
|
||||
enabled.rmempty = false
|
||||
|
||||
id = rtty:option(Value, "id", "设备ID", translate("mac address will be Device ID if empty"));
|
||||
id.optional = true
|
||||
id.rmempty = false
|
||||
id.addremove = false
|
||||
|
||||
token = rtty:option(Value, "token", translate("Token"));
|
||||
token.optional = false
|
||||
token.rmempty = false
|
||||
|
||||
description = rtty:option(Value, "description", translate("Description"));
|
||||
description.optional = true
|
||||
description.rmempty = false
|
||||
description.addremove = false
|
||||
|
||||
host = rtty:option(Value, "host", translate("Server Address"));
|
||||
host.optional = false
|
||||
host.rmempty = false
|
||||
|
||||
port = rtty:option(Value, "port", translate("Server Port"));
|
||||
port.optional = false
|
||||
port.rmempty = false
|
||||
port.default = "5912"
|
||||
|
||||
return m
|
||||
Reference in new issue
Block a user