mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-19 01:35:30 +08:00
adjust luci app webadmin page
This commit is contained in:
parent
9e01a95c77
commit
247e2c5986
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
LUCI_TITLE:=LuCI page for Web Admin
|
LUCI_TITLE:=LuCI page for Web Admin
|
||||||
LUCI_DEPENDS:=+uhttpd
|
LUCI_DEPENDS:=+uhttpd
|
||||||
PKG_VERSION:=1.0
|
PKG_VERSION:=1.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
include $(TOPDIR)/feeds/luci/luci.mk
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
-- Copyright 2015 Daniel Dickinson <openwrt@daniel.thecshore.com>
|
-- Copyright 2018 lean <coolsnowwolf@gmail.com>
|
||||||
-- Licensed to the public under the Apache License 2.0.
|
-- Licensed to the public under the Apache License 2.0.
|
||||||
|
|
||||||
module("luci.controller.webadmin", package.seeall)
|
module("luci.controller.webadmin", package.seeall)
|
||||||
|
@ -8,7 +8,7 @@ local m = Map("uhttpd", translate("Web Admin Settings"),
|
|||||||
|
|
||||||
local ucs = m:section(TypedSection, "uhttpd")
|
local ucs = m:section(TypedSection, "uhttpd")
|
||||||
ucs.addremove = false
|
ucs.addremove = false
|
||||||
ucs.anonymous = false
|
ucs.anonymous = true
|
||||||
|
|
||||||
lhttp = ucs:option(DynamicList, "listen_http", translate("HTTP listeners (address:port)"), translate("Bind to specific interface:port (by specifying interface address"))
|
lhttp = ucs:option(DynamicList, "listen_http", translate("HTTP listeners (address:port)"), translate("Bind to specific interface:port (by specifying interface address"))
|
||||||
lhttp.datatype = "list(ipaddrport(1))"
|
lhttp.datatype = "list(ipaddrport(1))"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user