Delete log window button (#2370)
This commit is contained in:
parent
499a8ba3da
commit
a5339d98b0
@ -2,7 +2,8 @@ local fs = require "nixio.fs"
|
|||||||
local conffile = "/tmp/ssrpro.log"
|
local conffile = "/tmp/ssrpro.log"
|
||||||
|
|
||||||
f = SimpleForm("logview")
|
f = SimpleForm("logview")
|
||||||
|
f.reset = false
|
||||||
|
f.submit = false
|
||||||
t = f:field(TextValue, "conf")
|
t = f:field(TextValue, "conf")
|
||||||
t.rmempty = true
|
t.rmempty = true
|
||||||
t.rows = 20
|
t.rows = 20
|
||||||
@ -12,4 +13,4 @@ function t.cfgvalue()
|
|||||||
end
|
end
|
||||||
t.readonly="readonly"
|
t.readonly="readonly"
|
||||||
|
|
||||||
return f
|
return f
|
||||||
|
Loading…
x
Reference in New Issue
Block a user