mirror of
https://github.com/zhaojh329/rtty.git
synced 2026-02-27 09:53:17 +08:00
@@ -1,5 +0,0 @@
|
||||
module("luci.controller.rtty", package.seeall)
|
||||
|
||||
function index()
|
||||
entry({"admin", "system", "rtty"}, cbi("rtty"), _("Rtty"), 90)
|
||||
end
|
||||
@@ -1,27 +0,0 @@
|
||||
local m, s, o
|
||||
|
||||
m = Map("rtty", translate("Rtty"))
|
||||
m:chain("luci")
|
||||
|
||||
|
||||
s = m:section(TypedSection, "rtty")
|
||||
s.anonymous = true
|
||||
s.addremove = true
|
||||
|
||||
o = s:option(Value, "id", translate("ID"))
|
||||
|
||||
o = s:option(Value, "host", translate("Server"))
|
||||
|
||||
o = s:option(Value, "port", translate("Port"))
|
||||
o.datatype = "port"
|
||||
|
||||
|
||||
o = s:option(Flag, "ssl", translate("SSL"))
|
||||
|
||||
|
||||
o = s:option(Value, "description", translate("Description"))
|
||||
|
||||
|
||||
o = s:option(Value, "token", translate("Token"))
|
||||
|
||||
return m
|
||||
Reference in New Issue
Block a user