update-12.05

This commit is contained in:
github-actions[bot]
2021-12-05 20:29:54 +08:00
parent 8c8626b053
commit 5602100c4a
6 changed files with 81 additions and 46 deletions

View File

@@ -4,10 +4,10 @@ XHR.poll(3, '<%=url([[admin]], [[services]], [[shadowsocksr]], [[run]])%>', null
var tb = document.getElementById('shadowsocksr_status');
if (data && tb) {
if (data.running) {
var links = '<em><b><font color=green>ShadowsocksR Plus+ <%:RUNNING%></font></b></em>';
var links = '<em><b style=color:green>ShadowsocksR Plus+ <%:RUNNING%></b></em>';
tb.innerHTML = links;
} else {
tb.innerHTML = '<em><b><font color=red>ShadowsocksR Plus+ <%:NOT RUNNING%></font></b></em>';
tb.innerHTML = '<em><b style=color:red>ShadowsocksR Plus+ <%:NOT RUNNING%></b></em>';
}
}
}