Skip to content

Commit

Permalink
luci-app-ssr-plus: adapter luci-theme-openwrt-2020 theme
Browse files Browse the repository at this point in the history
  • Loading branch information
zxlhhyccc authored Feb 26, 2024
1 parent 8084727 commit 14e1cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions luci-app-ssr-plus/luasrc/view/shadowsocksr/reset.htm
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
return false;
}
if (reset != "reset") {
s.innerHTML = "<font color='red'><%:The content entered is incorrect!%></font>";
s.innerHTML = "<font style=\'color:red\'><%:The content entered is incorrect!%></font>";
return false;
}
btn.disabled = true;
btn.value = '<%:Perform reset%>';
murl=dataname;
XHR.get('<%=luci.dispatcher.build_url("admin", "services", "shadowsocksr","reset")%>', { set:murl }, function(x,rv) {
btn.value = '<%:Reset complete%>';
s.innerHTML = "<font color='green'><%:Reset complete%></font>";
s.innerHTML = "<font style=\'color:green\'><%:Reset complete%></font>";
});
return false;
}
Expand Down

0 comments on commit 14e1cba

Please sign in to comment.