mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Fix formatting of end-to-end encryption indicator only being done for the own session
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -91,21 +91,22 @@ $(function () {
|
||||
data.remote_addr +
|
||||
"</strong>"
|
||||
);
|
||||
let icon = "";
|
||||
let title = "";
|
||||
if (data.tls.mixed) {
|
||||
title = "Session is PARTIALLY end-to-end encrypted";
|
||||
icon = "fa-triangle-exclamation";
|
||||
} else if (data.tls.login) {
|
||||
title = "Session is end-to-end encrypted (TLS/SSL)";
|
||||
icon = "fa-check";
|
||||
} else {
|
||||
title = "Session is NOT end-to-end encrypted (TLS/SSL)";
|
||||
icon = "fa-xmark";
|
||||
}
|
||||
|
||||
$("td:eq(3)", row).html('<i class="fa-solid ' + icon + '" title="' + title + '"></i>');
|
||||
}
|
||||
|
||||
let icon = "";
|
||||
let title = "";
|
||||
if (data.tls.mixed) {
|
||||
title = "Session is PARTIALLY end-to-end encrypted";
|
||||
icon = "fa-triangle-exclamation";
|
||||
} else if (data.tls.login) {
|
||||
title = "Session is end-to-end encrypted (TLS/SSL)";
|
||||
icon = "fa-check";
|
||||
} else {
|
||||
title = "Session is NOT end-to-end encrypted (TLS/SSL)";
|
||||
icon = "fa-xmark";
|
||||
}
|
||||
|
||||
$("td:eq(3)", row).html('<i class="fa-solid ' + icon + '" title="' + title + '"></i>');
|
||||
},
|
||||
select: {
|
||||
style: "multi",
|
||||
|
||||
Reference in New Issue
Block a user