mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
netbrowse: open links to mDNS hosts in new tab
Also, disable debug logging. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -30,7 +30,7 @@ class MdnsHosts:
|
||||
hosts_services = {}
|
||||
|
||||
for line in lines:
|
||||
print(f"{line}")
|
||||
# print(f"{line}")
|
||||
|
||||
parts = line.split(';')
|
||||
if len(parts) <= 8 or parts[0] != '=':
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
<td></td>
|
||||
{% endif %}
|
||||
{% if service.url %}
|
||||
<td><a href="{{ service.url }}">{{ link }}</a></td>
|
||||
<td><a href="{{ service.url }}" target="_blank" rel="noopener noreferrer">{{ link }}</a></td>
|
||||
{% else %}
|
||||
<td>{{ link }}</td>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user