luci-app-jd-dailybonus: fix log display
This commit is contained in:
parent
3e0bc7d3ad
commit
a6bb091998
@ -2,14 +2,12 @@ local fs = require "nixio.fs"
|
||||
local jd = "jd-dailybonus"
|
||||
local conffile = "/www/JD_DailyBonus.htm"
|
||||
|
||||
f = SimpleForm("logview")
|
||||
m = Map(jd)
|
||||
-- [[ 基本设置 ]]--
|
||||
s = SimpleForm("logview")
|
||||
s.submit = false
|
||||
s.reset = false
|
||||
|
||||
s = m:section(TypedSection, "global")
|
||||
s.anonymous = true
|
||||
|
||||
t = s:option(TextValue, "1", nil)
|
||||
-- [[ 日志显示 ]]--
|
||||
t = s:field(TextValue, "1", nil)
|
||||
t.rmempty = true
|
||||
t.rows = 30
|
||||
function t.cfgvalue()
|
||||
@ -17,4 +15,4 @@ function t.cfgvalue()
|
||||
end
|
||||
t.readonly="readonly"
|
||||
|
||||
return m
|
||||
return s
|
||||
Loading…
Reference in New Issue
Block a user