resolve conflict with luci-app-filetransfer & luci-app-ssr-plus-jsda
This commit is contained in:
parent
3d743cf761
commit
5ef34d3dcc
@ -147,7 +147,7 @@ upload_conf.template = "cbi/ssr_other_upload2"
|
||||
upload_conf:depends("use_conf_file", 1)
|
||||
|
||||
um = s:option(DummyValue, "", nil)
|
||||
um.template = "cbi/other_dvalue"
|
||||
um.template = "cbi/ssr_other_dvalue"
|
||||
um:depends("use_conf_file", 1)
|
||||
|
||||
local conf_dir, fd
|
||||
|
||||
@ -108,7 +108,7 @@ upload_conf.template = "cbi/ssr_other_upload2"
|
||||
upload_conf:depends("use_conf_file", 1)
|
||||
|
||||
um = s:option(DummyValue, "", nil)
|
||||
um.template = "cbi/other_dvalue"
|
||||
um.template = "cbi/ssr_other_dvalue"
|
||||
um:depends("use_conf_file", 1)
|
||||
|
||||
local conf_dir, fd
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
<%+cbi/valueheader%>
|
||||
|
||||
<label class="cbi-value-title" style="display:inline-block; width: 180px" for="ulfile"><%:Choose local file:%></label>
|
||||
<input class="cbi-input-file" style="width: 400px" type="file" id="ulfile" name="ulfile" />
|
||||
|
||||
<%+cbi/valuefooter%>
|
||||
@ -0,0 +1,8 @@
|
||||
<%+cbi/valueheader%>
|
||||
<span style="color: red">
|
||||
<%
|
||||
local val = self:cfgvalue(section) or self.default or ""
|
||||
write(pcdata(val))
|
||||
%>
|
||||
</span>
|
||||
<%+cbi/valuefooter%>
|
||||
Loading…
Reference in New Issue
Block a user