mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Use em instead of i and strong instead of b (#3321)
This commit is contained in:
@@ -264,5 +264,7 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
// Add a small legend below the CNAME table
|
||||
$("#cnameRecords-Table").after("<small>* <b>TTL</b> in seconds <i>(optional)</i></small>");
|
||||
$("#cnameRecords-Table").after(
|
||||
"<small>* <strong>TTL</strong> in seconds <em>(optional)</em></small>"
|
||||
);
|
||||
});
|
||||
|
||||
@@ -26,10 +26,10 @@ function formatDnsmasq(line) {
|
||||
|
||||
if (line.includes("denied") || line.includes("gravity blocked")) {
|
||||
// Red bold text for blocked domains
|
||||
txt = `<b class="log-red">${txt}</b>`;
|
||||
txt = `<strong class="log-red">${txt}</strong>`;
|
||||
} else if (line.includes("query[A") || line.includes("query[DHCP")) {
|
||||
// Bold text for initial query lines
|
||||
txt = `<b>${txt}</b>`;
|
||||
txt = `<strong>${txt}</strong>`;
|
||||
} else {
|
||||
// Grey text for all other lines
|
||||
txt = `<span class="text-muted">${txt}</span>`;
|
||||
|
||||
Reference in New Issue
Block a user