mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
16 lines
580 B
Lua
16 lines
580 B
Lua
local m, s
|
|
|
|
m = Map("qbittorrent", translate("qBittorrent"), translate("qBittorrent is a cross-platform free and open-source BitTorrent client. Default username & password: admin / adminadmin"))
|
|
|
|
m:section(SimpleSection).template = "qbittorrent_status"
|
|
|
|
s=m:section(TypedSection, "qbittorrent", translate("Global settings"))
|
|
s.addremove=false
|
|
s.anonymous=true
|
|
|
|
s:option(Flag, "enabled", translate("Enable")).rmempty=false
|
|
s:option(Value, "port", translate("WebUI Port")).rmempty=false
|
|
s:option(Value, "profile_dir", translate("Configuration files Path")).rmempty=false
|
|
|
|
return m
|