From f08f66c14ea9e1a09d7b0eb404bfcbffe6818650 Mon Sep 17 00:00:00 2001 From: suyuan <175338101@qq.com> Date: Fri, 26 Mar 2021 16:24:53 +0800 Subject: [PATCH] fx status --- luci-app-status/luasrc/controller/status.lua | 2 +- luci-app-status/luasrc/view/status/server.htm | 2 +- .../luasrc/view/status/wanstatus.htm | 75 ++++++++++++++----- 3 files changed, 60 insertions(+), 19 deletions(-) diff --git a/luci-app-status/luasrc/controller/status.lua b/luci-app-status/luasrc/controller/status.lua index 02cdbbebc..b1f3dab0a 100644 --- a/luci-app-status/luasrc/controller/status.lua +++ b/luci-app-status/luasrc/controller/status.lua @@ -43,7 +43,7 @@ function server_add() serversnb = serversnb + 1 end ucic:set("openmptcprouter",server,"disabled",openmptcprouter_vps_disabled) - ucic:set("openmptcprouter",server,"ip",server_ip) + ucic:set_list("openmptcprouter",server,"ip",server_ip) ucic:set("openmptcprouter",server,"port","65500") ucic:save("openmptcprouter") end diff --git a/luci-app-status/luasrc/view/status/server.htm b/luci-app-status/luasrc/view/status/server.htm index b7b367fce..a00832895 100644 --- a/luci-app-status/luasrc/view/status/server.htm +++ b/luci-app-status/luasrc/view/status/server.htm @@ -52,7 +52,7 @@