dns/dyndns: flip colours

* text-sucess is hardly readable in default theme
* text-danger seems more appropriate here
This commit is contained in:
Franco Fichtner
2019-02-04 07:25:59 +01:00
parent e0ee64741c
commit deb6f4a3a7
@@ -65,7 +65,7 @@ if (!empty($_REQUEST['getdyndnsstatus'])) {
$cached_ip = $cached_ip_s[0];
echo sprintf(
'<span class="%s">%s</span>',
$ipaddr != $cached_ip ? 'text-warning' : 'text-success',
$ipaddr != $cached_ip ? 'text-danger' : '',
htmlspecialchars($cached_ip)
);
} elseif (!empty($fdata6)) {