Compare commits

...

2 commits

Author SHA1 Message Date
bgme 06456673b7 Merge commit '052497c42375811cf117eaaa0dad26de34d4dad0' 2025-07-08 12:22:13 +00:00
bgme 052497c423 Squashed 'luci-app-smartdns/' changes from 416354b..bfba741
bfba741 luci: Add open background color of webui.

git-subtree-dir: luci-app-smartdns
git-subtree-split: bfba741c849500bc1dc8203b9869584b740a3b84
2025-07-08 12:22:13 +00:00

View file

@ -69,7 +69,7 @@ function smartdnsRenderStatus(res) {
if (uiEnable === '1') {
var uiLink = "http://" + window.location.hostname + ":" + uiPort + "/";
renderHTML += "<a class=\"cbi-button cbi-button-action\" style=\"margin-left: 10px;\" href=\"" + uiLink + "\" target=\"_blank\">" + _("Open the WebUI") + "</a>";
renderHTML += "&#160; <a class=\"btn cbi-button\" style=\"margin-left: 10px; background-color: black; color: white; border-color: #333;\" href=\"" + uiLink + "\" target=\"_blank\">" + _("Open the WebUI") + "</a>";
}
} else {
renderHTML += "<span style=\"color:red;font-weight:bold\">SmartDNS - " + _("NOT RUNNING") + "</span>";