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
This commit is contained in:
parent
54d3a69d8f
commit
052497c423
|
@ -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 += "  <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>";
|
||||
|
|
Loading…
Reference in a new issue