diff --git a/applications/luci-app-wxedge/luasrc/controller/wxedge.lua b/applications/luci-app-wxedge/luasrc/controller/wxedge.lua index e0a103f..f0ca68d 100755 --- a/applications/luci-app-wxedge/luasrc/controller/wxedge.lua +++ b/applications/luci-app-wxedge/luasrc/controller/wxedge.lua @@ -2,7 +2,7 @@ module("luci.controller.wxedge", package.seeall) function index() - entry({'admin', 'services', 'wxedge'}, alias('admin', 'services', 'wxedge', 'client'), _('wxedge'), 10) + entry({'admin', 'services', 'wxedge'}, alias('admin', 'services', 'wxedge', 'client'), _('Wxedge'), 10) entry({"admin", "services", "wxedge",'client'}, cbi("wxedge/status"), nil).leaf = true entry({"admin", "services", "wxedge","status"}, call("get_container_status")) diff --git a/applications/luci-app-wxedge/luasrc/model/cbi/wxedge/status.lua b/applications/luci-app-wxedge/luasrc/model/cbi/wxedge/status.lua index 2adf6aa..e4a96de 100755 --- a/applications/luci-app-wxedge/luasrc/model/cbi/wxedge/status.lua +++ b/applications/luci-app-wxedge/luasrc/model/cbi/wxedge/status.lua @@ -4,7 +4,7 @@ local sys = require 'luci.sys' local docker = require "luci.model.docker" m = SimpleForm("wxedge", translate("网心云"), translate("「容器魔方」由网心云推出的一款docker容器镜像软件,通过简单安装后即可快速加入网心云共享计算生态网络,为网心科技星域云贡献带宽和存储资源,用户根据每日的贡献量可获得相应的现金收益回报") -.. translatef("For further information " +.. translatef(" " .. "" .. "访问官网", "https://www.onethingcloud.com/")) m.submit=false diff --git a/applications/luci-app-wxedge/luasrc/view/wxedge/wxedge.htm b/applications/luci-app-wxedge/luasrc/view/wxedge/wxedge.htm index eeeb4de..cf9b8a7 100755 --- a/applications/luci-app-wxedge/luasrc/view/wxedge/wxedge.htm +++ b/applications/luci-app-wxedge/luasrc/view/wxedge/wxedge.htm @@ -19,8 +19,8 @@ } } else { - let config = document.getElementById('config') - if(!config){ + let cache = document.getElementById('cache') + if(!cache){ var configs = [ {id: "cache", label: "<%:storage path%>*:", value: st.cache_path}, ];