luci-app-ssocks: move to services
This commit is contained in:
parent
7bd43a44e6
commit
3f4b8ab3d7
@ -9,10 +9,10 @@ function index()
|
||||
return
|
||||
end
|
||||
local page
|
||||
page = entry({"admin", "vpn", "ssocks"}, cbi("ssocks"), _("sSocks Server"), 100)
|
||||
page = entry({"admin", "services", "ssocks"}, cbi("ssocks"), _("sSocks Server"), 100)
|
||||
page.i18n = "ssocks"
|
||||
page.dependent = true
|
||||
entry({"admin", "vpn", "ssocks", "status"},call("act_status")).leaf=true
|
||||
entry({"admin", "services", "ssocks", "status"},call("act_status")).leaf=true
|
||||
end
|
||||
|
||||
function act_status()
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<script type="text/javascript">//<![CDATA[
|
||||
XHR.poll(3, '<%=url([[admin]], [[vpn]], [[ssocks]], [[status]])%>', null,
|
||||
XHR.poll(3, '<%=url([[admin]], [[services]], [[ssocks]], [[status]])%>', null,
|
||||
function(x, data) {
|
||||
var tb = document.getElementById('ssocks_status');
|
||||
if (data && tb) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user