Set icon color to green when SSL/TSL is used

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
RD WebDesign
2025-03-07 01:03:54 -03:00
parent 516febe461
commit b4bf45d2fd

View File

@@ -749,7 +749,7 @@ function addAdvancedInfo() {
// Add TLS and client IP info // Add TLS and client IP info
advancedInfoTarget.append( advancedInfoTarget.append(
'Client: <i class="fa-solid fa-fw fa-lock' + 'Client: <i class="fa-solid fa-fw fa-lock' +
(isTLS ? "" : "-open") + (isTLS ? " text-green" : "-open") +
'" title="Your connection is ' + '" title="Your connection is ' +
(isTLS ? "" : "NOT ") + (isTLS ? "" : "NOT ") +
'end-to-end encrypted (TLS/SSL)"></i>&nbsp;<span id="client-id"></span><br>' 'end-to-end encrypted (TLS/SSL)"></i>&nbsp;<span id="client-id"></span><br>'