Przeglądaj źródła

server: VPN list only uses checkmark/cross for connection indication

Helge Jung 9 lat temu
rodzic
commit
a71cc1184c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ffstatus/server.py

+ 1 - 1
ffstatus/server.py

@@ -415,7 +415,7 @@ class BatcaveHttpRequestHandler(BaseHTTPRequestHandler):
 						details = ''
 						if t in item and gw in item[t]:
 							ip = item[t][gw]['remote'] if 'remote' in item[t][gw] else ''
-						self.wfile.write('<td>' + ip + '</td>')
+						self.wfile.write('<td title="' + ip + '">' + ('&check;' if len(ip) > 0 else '&times;') + '</td>')
 
 				self.wfile.write('</tr>\n')