mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-19 03:43:29 +00:00
min fix
This commit is contained in:
parent
cb40f8d3c0
commit
432d23354e
@ -4,10 +4,10 @@ XHR.poll(3, '<%=url([[admin]], [[services]], [[ssrpro]], [[status]])%>', null,
|
||||
var tb = document.getElementById('ssrpro_status');
|
||||
if (data && tb) {
|
||||
if (data.running) {
|
||||
var links = '<em><b><font color=green>ShadowsockR Pro<%:RUNNING%></font></b></em>';
|
||||
var links = '<em><b><font color=green>ShadowsocksR Pro<%:RUNNING%></font></b></em>';
|
||||
tb.innerHTML = links;
|
||||
} else {
|
||||
tb.innerHTML = '<em><b><font color=red>ShadowsockR Pro<%:NOT RUNNING%></font></b></em>';
|
||||
tb.innerHTML = '<em><b><font color=red>ShadowsocksR Pro<%:NOT RUNNING%></font></b></em>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user